mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
16 lines
403 B
Go
16 lines
403 B
Go
package cpp
|
|
|
|
import (
|
|
"github.com/anchore/syft/syft/pkg/cataloger/common"
|
|
)
|
|
|
|
// NewConanfileCataloger returns a new C++ Conanfile cataloger object.
|
|
func NewConanfileCataloger() *common.GenericCataloger {
|
|
globParsers := map[string]common.ParserFn{
|
|
"**/conanfile.txt": parseConanfile,
|
|
"**/conan.lock": parseConanlock,
|
|
}
|
|
|
|
return common.NewGenericCataloger(nil, globParsers, "conan-cataloger")
|
|
}
|