mirror of
https://github.com/anchore/syft.git
synced 2026-10-31 06:26:30 +01:00
Split dpk source into name and version (#297)
* Split dpk source into name and version Signed-off-by: Zach Hill <zach@anchore.com> * update dpkg status source name parsing Signed-off-by: Alex Goodman <alex.goodman@anchore.com> Co-authored-by: Dan Luhring <luhring@users.noreply.github.com> Co-authored-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
co-authored by
Dan Luhring
Alex Goodman
parent
ea162f87f4
commit
7962002f81
@@ -11,6 +11,7 @@ type DpkgMetadata struct {
|
||||
Package string `mapstructure:"Package" json:"package"`
|
||||
Source string `mapstructure:"Source" json:"source"`
|
||||
Version string `mapstructure:"Version" json:"version"`
|
||||
SourceVersion string `mapstructure:"SourceVersion" json:"sourceVersion"`
|
||||
Architecture string `mapstructure:"Architecture" json:"architecture"`
|
||||
Maintainer string `mapstructure:"Maintainer" json:"maintainer"`
|
||||
InstalledSize int `mapstructure:"InstalledSize" json:"installedSize"`
|
||||
|
||||
Reference in New Issue
Block a user