cataloger: use ** for glob patterns

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza
2020-07-21 11:19:42 -04:00
parent 03bbcfa08d
commit cea38fcba3
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ type Cataloger struct {
func NewCataloger() *Cataloger {
globParsers := map[string]common.ParserFn{
"*egg-info/PKG-INFO": parseEggMetadata,
"*dist-info/METADATA": parseWheelMetadata,
"**/egg-info/PKG-INFO": parseEggMetadata,
"**/dist-info/METADATA": parseWheelMetadata,
}
return &Cataloger{