Versions in this module Expand all Collapse all v0 v0.13.4 Jan 25, 2023 Changes in this version + type Config struct + Description string + DevImports Dependencies + Exclude []string + Home string + Ignore []string + Imports Dependencies + License string + Name string + Owners Owners + func ConfigFromYaml(yml []byte) (*Config, error) + func (c *Config) AddImport(deps ...*Dependency) error + func (c *Config) Clone() *Config + func (c *Config) DeDupe() error + func (c *Config) HasDependency(name string) bool + func (c *Config) HasExclude(ex string) bool + func (c *Config) HasIgnore(name string) bool + func (c *Config) Hash() (string, error) + func (c *Config) Marshal() ([]byte, error) + func (c *Config) MarshalYAML() (interface{}, error) + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + func (c *Config) WriteFile(glidepath string) error + type Dependencies []*Dependency + func (d Dependencies) Clone() Dependencies + func (d Dependencies) DeDupe() (Dependencies, error) + func (d Dependencies) Get(name string) *Dependency + func (d Dependencies) Has(name string) bool + func (d Dependencies) Remove(name string) Dependencies + type Dependency struct + Arch []string + Name string + Os []string + Pin string + Reference string + Repository string + Subpackages []string + VcsType string + func DependencyFromLock(lock *Lock) *Dependency + func (d *Dependency) Clone() *Dependency + func (d *Dependency) GetRepo(dest string) (vcs.Repo, error) + func (d *Dependency) HasSubpackage(sub string) bool + func (d *Dependency) MarshalYAML() (interface{}, error) + func (d *Dependency) Remote() string + func (d *Dependency) UnmarshalYAML(unmarshal func(interface{}) error) error + func (d *Dependency) Vcs() string + type Lock struct + Arch []string + Name string + Os []string + Repository string + Subpackages []string + VcsType string + Version string + func LockFromDependency(dep *Dependency) *Lock + func (l *Lock) Clone() *Lock + type Lockfile struct + DevImports Locks + Hash string + Imports Locks + Updated time.Time + func LockfileFromMap(ds map[string]*Dependency, hash string) *Lockfile + func LockfileFromYaml(yml []byte) (*Lockfile, error) + func NewLockfile(ds, tds Dependencies, hash string) (*Lockfile, error) + func ReadLockFile(lockpath string) (*Lockfile, error) + func (lf *Lockfile) Clone() *Lockfile + func (lf *Lockfile) Fingerprint() ([32]byte, error) + func (lf *Lockfile) Marshal() ([]byte, error) + func (lf *Lockfile) MarshalYAML() (interface{}, error) + func (lf *Lockfile) WriteFile(lockpath string) error + type Locks []*Lock + func (l Locks) Clone() Locks + func (l Locks) Len() int + func (l Locks) Less(i, j int) bool + func (l Locks) Swap(i, j int) + type Owner struct + Email string + Home string + Name string + func (o *Owner) Clone() *Owner + type Owners []*Owner + func (o Owners) Clone() Owners