Documentation ¶
Index ¶
- type Dependency
- func (dep *Dependency) Hash(_ context.Context) (string, error)
- func (dep *Dependency) LoadHash() string
- func (dep *Dependency) Updated(ctx context.Context) (bool, error)
- func (dep *Dependency) WithDir(dir string) *Dependency
- func (dep *Dependency) WithIgnore(ignore shared.Ignore) *Dependency
- func (dep *Dependency) WithSelect(sel shared.Select) *Dependency
- func (dep *Dependency) WriteHash(hash string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency struct { Name string Components []string Ignore shared.Ignore Select shared.Select // contains filtered or unexported fields }
func NewDependency ¶ added in v0.1.6
func NewDependency(name string, components ...string) *Dependency
func (*Dependency) Hash ¶ added in v0.1.4
func (dep *Dependency) Hash(_ context.Context) (string, error)
func (*Dependency) LoadHash ¶ added in v0.1.6
func (dep *Dependency) LoadHash() string
func (*Dependency) Updated ¶ added in v0.1.6
func (dep *Dependency) Updated(ctx context.Context) (bool, error)
func (*Dependency) WithDir ¶ added in v0.1.6
func (dep *Dependency) WithDir(dir string) *Dependency
func (*Dependency) WithIgnore ¶ added in v0.1.6
func (dep *Dependency) WithIgnore(ignore shared.Ignore) *Dependency
func (*Dependency) WithSelect ¶ added in v0.1.14
func (dep *Dependency) WithSelect(sel shared.Select) *Dependency
func (*Dependency) WriteHash ¶ added in v0.1.6
func (dep *Dependency) WriteHash(hash string) error
Click to show internal directories.
Click to hide internal directories.