Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver manages the execution of the MVS algorithm. It implements mvs.Reqs
func (*Resolver) AddRoots ¶
func (res *Resolver) AddRoots(roots ...RootModule)
AddRoots will add root modules (modules that the user directly requested to build) to the resolution. As these modules are in source directories, and not in the cache, their direct dependencies must be supplied within RootModule. Indirect dependencies will be resolved via the cache supplied to New
func (*Resolver) Max ¶
Max will return whichever version string provided is greater. The special version "" (empty string) is greater than all other versions, and intended for use in root modules which must always be built. The special version "none" is less than all other versions, and represents a module that is not selected for the build.
This implements mvs.Reqs