Module resolve

Source

StructsΒ§

DiscoveredPackages πŸ”’

EnumsΒ§

ResolveError

FunctionsΒ§

check_for_duplicate_versions πŸ”’
As a workaround for the lack of β€œproper” dependency merging, we’ll make sure only one copy of each package is in the dependency tree. If the same package is included in the tree multiple times, they all need to use the exact same version otherwise it’s an error.
cycle_error πŸ”’
discover_dependencies πŸ”’
log_dependencies πŸ”’
print_cycle πŸ”’
registry_error_message πŸ”’
resolve
Given the PackageInfo for a root package, resolve its dependency graph and figure out how it could be executed.
resolve_dependency_graph πŸ”’
resolve_package πŸ”’
Given some DiscoveredPackages, figure out how the resulting β€œpackage” would look when loaded at runtime.