add python wheel and egg analyzer support

This commit is contained in:
Alex Goodman
2020-06-05 08:47:17 -04:00
parent 83e96e8880
commit a0ccfe220b
18 changed files with 622 additions and 15 deletions
+7 -1
View File
@@ -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 {