github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/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 string `mapstructure:"pkgHash" json:"pkgHash,omitempty"` 6 SnapshotURL string `mapstructure:"snapshotURL" json:"snapshotURL,omitempty"` 7 } 8 9 // HackageStackYamlEntry represents a single entry from the "extra-deps" section of a stack.yaml file. 10 type HackageStackYamlEntry struct { 11 PkgHash string `mapstructure:"pkgHash" json:"pkgHash,omitempty"` 12 }