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