mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
cataloger: add a glob path for parsing requirements.txt
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
@@ -15,6 +15,7 @@ func NewCataloger() *Cataloger {
|
||||
globParsers := map[string]common.ParserFn{
|
||||
"**/egg-info/PKG-INFO": parseEggMetadata,
|
||||
"**/dist-info/METADATA": parseWheelMetadata,
|
||||
"**/requirements.txt": parseRequirementsTxt,
|
||||
}
|
||||
|
||||
return &Cataloger{
|
||||
|
||||
Reference in New Issue
Block a user