Skip to main content

Module resolver

Module resolver 

Source

Structs§

ResolveReport
A report of all changes produced by a resolve operation.
VersionConflict
A version conflict between two requesters of the same package.

Enums§

DepChange
Describes a single dependency change during resolution.

Functions§

build_package_roots
Build a map of package name -> source root for all installed packages.
build_report
Build a report by diffing an old lock file against a new set of packages.
detect_conflicts
Detect version conflicts in the requirements map. requirements maps package name -> list of (requester_name, version_req_string).
find_package_source
Find the source directory for an installed package. Checks path deps first, then cache.
resolve_and_install
Resolve all dependencies from a manifest, fetching as needed, and produce a lock file.
resolve_and_install_with_report
Resolve all dependencies with transitive resolution and produce a report.
resolve_dry_run
Preview what would change without modifying tl.lock.
spec_matches_locked
Check if a dependency spec is compatible with what’s locked.