Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependencyGraph ¶
type DependencyGraph struct {
// contains filtered or unexported fields
}
DependencyGraph represents the evaluated dependency graph.
func Walk ¶
func Walk(ctx context.Context, store formula.Formulary, roots []formula.PlatformFormula, plat platform.Platform, tags *formula.DependencyTags) (*DependencyGraph, error)
WalkPlatform evaluates the dependency graph of all root nodes for a specific platform.
func WalkAll ¶
func WalkAll(ctx context.Context, store formula.Formulary, roots []formula.PlatformFormula, tags *formula.DependencyTags) (*DependencyGraph, error)
WalkAll evaluates the dependency graph of all root nodes.
If dependencies vary by platform, all possible dependencies will be included.
func (DependencyGraph) Dependents ¶
func (deps DependencyGraph) Dependents() []formula.PlatformFormula
Dependents returns the list of computed dependencies.
func (*DependencyGraph) Roots ¶
func (deps *DependencyGraph) Roots() []formula.PlatformFormula
Roots returns the list of computed dependencies.
Click to show internal directories.
Click to hide internal directories.