Documentation ¶
Index ¶
- func Clean(rflags flags.RootPflagpole) error
- func Get(module string, rflags flags.RootPflagpole, gflags flags.Mod__GetFlagpole) error
- func Init(module string, rflags flags.RootPflagpole) (err error)
- func Link(rflags flags.RootPflagpole) error
- func Publish(taggedMod string) error
- func Tidy(rflags flags.RootPflagpole) error
- func ValidateModURL(mod string) error
- func Vendor(rflags flags.RootPflagpole) error
- func Verify(rflags flags.RootPflagpole) error
- type CueMod
- func (cm *CueMod) CleanDeps() error
- func (cm *CueMod) CleanSums() error
- func (cm *CueMod) ParseModFile(data []byte) (err error)
- func (cm *CueMod) ReadModFile() (err error)
- func (cm *CueMod) ReadSumFile() error
- func (cm *CueMod) SolveMVS(latest bool) error
- func (cm *CueMod) UpgradePseudoVersions() (err error)
- func (cm *CueMod) Vendor(method string, verbosity int) (err error)
- func (cm *CueMod) Verify() (err error)
- func (cm *CueMod) WriteModFile() (err error)
- func (cm *CueMod) WriteModule() (err error)
- func (cm *CueMod) WriteSumFile() (err error)
- type Dep
- type RequirementResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clean ¶ added in v0.6.8
func Clean(rflags flags.RootPflagpole) error
func Get ¶ added in v0.6.8
func Get(module string, rflags flags.RootPflagpole, gflags flags.Mod__GetFlagpole) error
func Link ¶ added in v0.6.8
func Link(rflags flags.RootPflagpole) error
func Tidy ¶
func Tidy(rflags flags.RootPflagpole) error
func ValidateModURL ¶ added in v0.6.8
func Vendor ¶
func Vendor(rflags flags.RootPflagpole) error
func Verify ¶
func Verify(rflags flags.RootPflagpole) error
Types ¶
type CueMod ¶ added in v0.6.8
type CueMod struct { Basedir string Module string CueVer string Require map[string]string Indirect map[string]string Replace map[string]Dep Exclude map[string]string Sums map[Dep][]string // final list produced by MVS BuildList []module.Version FS billy.Filesystem }
func ReadModule ¶ added in v0.6.8
func (*CueMod) ParseModFile ¶ added in v0.6.8
func (*CueMod) ReadModFile ¶ added in v0.6.8
func (*CueMod) ReadSumFile ¶ added in v0.6.8
func (*CueMod) UpgradePseudoVersions ¶ added in v0.6.8
func (*CueMod) WriteModFile ¶ added in v0.6.8
func (*CueMod) WriteModule ¶ added in v0.6.8
func (*CueMod) WriteSumFile ¶ added in v0.6.8
type RequirementResolver ¶ added in v0.6.8
type RequirementResolver struct {
// contains filtered or unexported fields
}
type needed by Go's mvs library
func (*RequirementResolver) Max ¶ added in v0.6.8
func (rr *RequirementResolver) Max(v1, v2 string) string
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package mvs implements Minimal Version Selection.
|
Package mvs implements Minimal Version Selection. |
parse
|
|
lazyregexp
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
|
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init. |
Click to show internal directories.
Click to hide internal directories.