package
0.10.0
Repository: https://github.com/kcl-lang/kpm.git
Documentation: pkg.go.dev

# Functions

BuildList returns the build list for the target module.
Downgrade returns a build list for the target module in which the given additional modules are downgraded, potentially overriding the requirements of the target.
NewBuildListError returns a new BuildListError wrapping an error that occurred at a module found along the given path of requirements and/or upgrades, which must be non-empty.
NewGraph returns an incremental MVS graph containing only a set of root dependencies and using the given max function for version strings.
Req returns the minimal requirement list for the target module, with the constraint that all module paths listed in base must appear in the returned list.
Upgrade returns a build list for the target module in which the given additional modules are upgraded.
UpgradeAll returns a build list for the target module in which every module is upgraded to its latest version.

# Structs

BuildListError decorates an error that occurred gathering requirements while constructing a build list.
Graph implements an incremental version of the MVS algorithm, with the requirements pushed by the caller instead of pulled by the MVS traversal.

# Interfaces

A DowngradeReqs is a Reqs that can also identify available downgrades.
A Reqs is the requirement graph on which Minimal Version Selection (MVS) operates.
An UpgradeReqs is a Reqs that can also identify available upgrades.