github.com/anchore/syft@v1.38.2/syft/pkg/elixir.go (about) 1 package pkg 2 3 // ElixirMixLockEntry is a struct that represents a single entry in a mix.lock file 4 type ElixirMixLockEntry struct { 5 // Name is the package name as found in the mix.lock file 6 Name string `mapstructure:"name" json:"name"` 7 8 // Version is the package version as found in the mix.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, replaces deprecated inner checksum) 12 PkgHash string `mapstructure:"pkgHash" json:"pkgHash"` 13 14 // PkgHashExt is the extended package hash format (inner checksum is deprecated - SHA-256 of concatenated file contents excluding CHECKSUM file, now replaced by outer checksum) 15 PkgHashExt string `mapstructure:"pkgHashExt" json:"pkgHashExt"` 16 }