Versions in this module Expand all Collapse all v0 v0.17.0 Dec 5, 2025 Changes in this version + const JsonSchemaDateTimeFormat + func GenerateCycloneDX(deps *BuildDependencies, config types.ScanConfig) (*cdx.BOM, error) + type BuildDependencies struct + Code []Package + Tools []Package + Transitive []Package + UnresolvedFiles []string + func ResolveDependencies(observations BuildObservations) (*BuildDependencies, error) + type BuildObservations types.BuildObservations + func DependencyObservations(observations BuildObservations) BuildObservations + type Package struct + Arch string + Dependencies []string + Files []string + Id string + IsSourcePackage bool + Licenses []licenses.License + Name string + OSFamily ospkgs.OSFamily + Scope Scope + Version string + type PackageIndexer interface + Create func() error + InstalledPackage func(name string) *ospkgs.Package + LicensesForPackage func(name string) ([]licenses.License, error) + PackageForFile func(filename string) (*ospkgs.Package, bool) + PackageNameForFile func(filename string) (string, bool) + PackageThatProvides func(name string) (*ospkgs.Package, bool) + type Scope string + const ScopeCode + const ScopeTool