Versions in this module Expand all Collapse all v0 v0.0.1 Nov 29, 2026 Changes in this version + const MethodCargoAuditable + const MethodGoBuildInfo + const MethodJVMArchive + const MethodOSFileOwner + const ScopeDevelopment + const ScopeProduction + func HasFileOwnership(root string) bool + func LooksExecutable(path string) bool + func RelativePath(root, path string) string + type Artifact struct + Attributes map[string]string + Format string + Owner *Owner + Packages []Package + Path string + type Edge struct + DependsOn []string + From string + type Owner struct + Ecosystem string + Name string + Source string + Version string + func (o Owner) Key() string + type OwnerIndex map[string]Owner + func BuildOwnerIndex(root string) OwnerIndex + func BuildOwnerIndexFor(root string, want map[string]bool) OwnerIndex + func (idx OwnerIndex) Lookup(root, hostPath string) (Owner, bool) + type Package struct + BinaryPath string + Checksum string + Confidence string + Detail string + Ecosystem string + IsDirect bool + Method string + Name string + Scope string + Version string + func Dedupe(pkgs []Package) []Package + type Result struct + Attributes map[string]string + Edges []Edge + Errors []string + Format string + Packages []Package + func FromArtifact(path string) Result + func FromBinary(path string) Result + func FromJVMArchive(path string) Result + func (r Result) Empty() bool + type TreeOptions struct + MaxFileSize int64 + OwnerRoot string + Owners OwnerIndex + Root string + SkipDirs []string + type TreeResult struct + Artifacts []Artifact + Edges []Edge + Errors []string + Examined int + Packages []Package + Unowned []string + func ScanTree(opts TreeOptions) TreeResult