Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDependencyNotFound = errors.New("dependency not found")
ErrDependencyNotFound indicates the requested package was not found.
Functions ¶
func GraphFromPaths ¶
GraphFromPaths returns a focused subgraph of source containing only the packages and edges that appear in the supplied explain paths.
Types ¶
type Path ¶
type Path = output.DependencyPath
Path is an alias for output.DependencyPath.
func FindWhy ¶
func FindWhy(deps *sdk.Graph, query string) (output.PackageRef, []Path, error)
FindWhy resolves a target package and returns all root-to-target paths.
func FindWhyPackage ¶
FindWhyPackage resolves a target package and returns the package plus all root-to-target paths.
Click to show internal directories.
Click to hide internal directories.