github.com/anchore/syft@v1.38.2/syft/pkg/erlang.go (about) 1 package pkg 2 3 // ErlangRebarLockEntry represents a single package entry from the "deps" section within an Erlang rebar.lock file. 4 type ErlangRebarLockEntry struct { 5 // Name is the package name as found in the rebar.lock file 6 Name string `mapstructure:"name" json:"name"` 7 8 // Version is the package version as found in the rebar.lock file 9 Version string `mapstructure:"version" json:"version"` 10 11 // PkgHash is the outer checksum (SHA-256) of the entire Hex package tarball for integrity verification (preferred method over deprecated inner checksum) 12 PkgHash string `mapstructure:"pkgHash" json:"pkgHash"` 13 14 // PkgHashExt is the extended package hash format (inner checksum deprecated - was SHA-256 of concatenated file contents) 15 PkgHashExt string `mapstructure:"pkgHashExt" json:"pkgHashExt"` 16 }