mirror of
https://github.com/anchore/syft.git
synced 2026-10-31 22:46:36 +01:00
feat(elixir): emit dependency relationships from mix.lock (#4985)
adds dependency-of relationships between elixir locked packages, matching how other ecosystem catalogers (alpine, arch, debian, redhat, python) express the dependency graph via the shared dependency.Processor/Specifier mechanism. Signed-off-by: Chris Greeno <cgreeno@gmail.com>
This commit is contained in:
@@ -13,4 +13,9 @@ type ElixirMixLockEntry struct {
|
||||
|
||||
// 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)
|
||||
PkgHashExt string `mapstructure:"pkgHashExt" json:"pkgHashExt"`
|
||||
|
||||
// Dependencies are the names of the packages this entry depends on, as
|
||||
// declared in the entry's dependency list within mix.lock. Used to derive
|
||||
// dependency-of relationships between locked packages.
|
||||
Dependencies []string `mapstructure:"dependencies" json:"dependencies,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user