Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependencyGraph ¶
type DependencyGraph struct {
Main *Module
Modules map[string]*Module
Packages map[string]*Package
Edges map[string][]string
}
func Load ¶
func Load(dir string) (*DependencyGraph, error)
func NewDependencyGraph ¶
func NewDependencyGraph() *DependencyGraph
func (*DependencyGraph) Checksum ¶
func (g *DependencyGraph) Checksum() string
Checksum returns a short deterministic SHA-256 digest of the dependency graph. The digest covers module paths, versions, package import paths, capability names, and edge targets — all sorted for stability across runs.
func (*DependencyGraph) ReverseEdges ¶
func (g *DependencyGraph) ReverseEdges() map[string][]string
Click to show internal directories.
Click to hide internal directories.