mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 07:56:36 +01:00
add python wheel and egg analyzer support
This commit is contained in:
+7
-1
@@ -5,8 +5,10 @@ const (
|
||||
ApkPkg
|
||||
BundlerPkg
|
||||
DebPkg
|
||||
EggPkg
|
||||
PacmanPkg
|
||||
RpmPkg
|
||||
WheelPkg
|
||||
)
|
||||
|
||||
type Type uint
|
||||
@@ -14,18 +16,22 @@ type Type uint
|
||||
var typeStr = []string{
|
||||
"UnknownPackage",
|
||||
"apk",
|
||||
"bundler",
|
||||
"bundle",
|
||||
"deb",
|
||||
"egg",
|
||||
"pacman",
|
||||
"rpm",
|
||||
"wheel",
|
||||
}
|
||||
|
||||
var AllPkgs = []Type{
|
||||
ApkPkg,
|
||||
BundlerPkg,
|
||||
DebPkg,
|
||||
EggPkg,
|
||||
PacmanPkg,
|
||||
RpmPkg,
|
||||
WheelPkg,
|
||||
}
|
||||
|
||||
func (t Type) String() string {
|
||||
|
||||
Reference in New Issue
Block a user