Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- inferDependencyMounts :: Branch Transaction -> Transaction [(Path, BranchHash)]
Documentation
inferDependencyMounts :: Branch Transaction -> Transaction [(Path, BranchHash)] Source #
Find all dependency mounts within a branch and the path to those mounts.
For a typical project this will return something like:
[(lib.base, #abc), (lib.distributed, #def)]
For the top-level name lookup of a user codebase it returns the project roots, and will return something like:
[(public.nested.myproject.latest, #abc), (public.other.namespace.otherproject.main, #def)]