Help us shape the future of Go! Take the 2026 Go Developer Survey

builders

package
v0.1.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 11 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

AddDependency adds a dependency to the list of dependencies

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(dir string) *Dependencies

func (*Dependencies) Updated added in v0.1.20

func (dep *Dependencies) Updated(ctx context.Context) (bool, error)

func (*Dependencies) WriteHash added in v0.1.20

func (dep *Dependencies) WriteHash(ctx context.Context, hash string) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL