dependencies

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 7 Imported by: 0

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

WalkPlatform evaluates the dependency graph of all root nodes for a specific platform.

func WalkAll

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.

func (*DependencyGraph) Tree

func (deps *DependencyGraph) Tree(root string) (treeprint.Tree, error)

Tree returns a printable tree of dependencies.

Jump to

Keyboard shortcuts

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