Documentation ¶
Index ¶
- func MakeDependenciesSummary(deps *Dependencies) string
- func MakeDependencySummary(dep *Dependency) string
- type AcceptChange
- type Dependencies
- func (dep *Dependencies) AddDependencies(dependencies ...*Dependency) *Dependencies
- func (dep *Dependencies) All() []string
- func (dep *Dependencies) Clone() *Dependencies
- func (dep *Dependencies) Hash(ctx context.Context) (string, error)
- func (dep *Dependencies) LoadHash(ctx context.Context) string
- func (dep *Dependencies) Localize(root string)
- func (dep *Dependencies) Present(ctx context.Context, dir string) []string
- func (dep *Dependencies) String() string
- func (dep *Dependencies) UpdateCache(ctx context.Context) error
- func (dep *Dependencies) Updated(ctx context.Context) (bool, error)
- func (dep *Dependencies) WithCache(location string) *Dependencies
- func (dep *Dependencies) WriteHash(ctx context.Context, hash string) error
- type Dependency
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeDependenciesSummary ¶ added in v0.1.21
func MakeDependenciesSummary(deps *Dependencies) string
MakeDependenciesSummary outputs a summary of the dependencies
func MakeDependencySummary ¶ added in v0.1.22
func MakeDependencySummary(dep *Dependency) string
MakeDependencySummary outputs a summary of the dependency
Types ¶
type AcceptChange ¶ added in v0.1.25
type Dependencies ¶ added in v0.1.20
type Dependencies struct { Name string Components []*Dependency // contains filtered or unexported fields }
func NewDependencies ¶ added in v0.1.20
func NewDependencies(name string, components ...*Dependency) *Dependencies
func (*Dependencies) AddDependencies ¶ added in v0.1.20
func (dep *Dependencies) AddDependencies(dependencies ...*Dependency) *Dependencies
AddDependencies adds dependencies
func (*Dependencies) All ¶ added in v0.1.24
func (dep *Dependencies) All() []string
func (*Dependencies) Clone ¶ added in v0.1.20
func (dep *Dependencies) Clone() *Dependencies
func (*Dependencies) Hash ¶ added in v0.1.20
func (dep *Dependencies) Hash(ctx context.Context) (string, error)
func (*Dependencies) LoadHash ¶ added in v0.1.20
func (dep *Dependencies) LoadHash(ctx context.Context) string
func (*Dependencies) Localize ¶ added in v0.1.20
func (dep *Dependencies) Localize(root string)
func (*Dependencies) Present ¶ added in v0.1.33
func (dep *Dependencies) Present(ctx context.Context, dir string) []string
func (*Dependencies) String ¶ added in v0.1.33
func (dep *Dependencies) String() string
func (*Dependencies) UpdateCache ¶ added in v0.1.25
func (dep *Dependencies) UpdateCache(ctx context.Context) error
func (*Dependencies) Updated ¶ added in v0.1.20
func (dep *Dependencies) Updated(ctx context.Context) (bool, error)
func (*Dependencies) WithCache ¶ added in v0.1.39
func (dep *Dependencies) WithCache(location string) *Dependencies
type Dependency ¶
type Dependency struct {
// contains filtered or unexported fields
}
func NewDependency ¶ added in v0.1.6
func NewDependency(components ...string) *Dependency
func (*Dependency) Components ¶
func (dep *Dependency) Components() []string
func (*Dependency) Hash ¶ added in v0.1.4
func (dep *Dependency) Hash(ctx context.Context) (string, error)
func (*Dependency) Keep ¶ added in v0.1.20
func (dep *Dependency) Keep(path string) bool
func (*Dependency) Localize ¶ added in v0.1.20
func (dep *Dependency) Localize(dir string) *Dependency
func (*Dependency) WithPathSelect ¶ added in v0.1.20
func (dep *Dependency) WithPathSelect(sel shared.PathSelect) *Dependency
Click to show internal directories.
Click to hide internal directories.