github.com/anchore/syft@v1.38.2/syft/pkg/hackage.go (about) 1 package pkg 2 3 // HackageStackYamlLockEntry represents a single entry from the "packages" section of a stack.yaml.lock file. 4 type HackageStackYamlLockEntry struct { 5 // PkgHash is the package content hash for verification 6 PkgHash string `mapstructure:"pkgHash" json:"pkgHash,omitempty"` 7 8 // SnapshotURL is the URL to the Stack snapshot this package came from 9 SnapshotURL string `mapstructure:"snapshotURL" json:"snapshotURL,omitempty"` 10 } 11 12 // HackageStackYamlEntry represents a single entry from the "extra-deps" section of a stack.yaml file. 13 type HackageStackYamlEntry struct { 14 // PkgHash is the package content hash for verification 15 PkgHash string `mapstructure:"pkgHash" json:"pkgHash,omitempty"` 16 }