unison-parser-typechecker-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

U.Codebase.Projects

Synopsis

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)]