mirror of
https://github.com/anchore/syft.git
synced 2025-11-20 18:03:16 +01:00
* normalize cataloger patterns Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * remove central reference for maven configurable Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
16 lines
491 B
Go
16 lines
491 B
Go
/*
|
|
Package erlang provides a concrete Cataloger implementation relating to packages within the Erlang language ecosystem.
|
|
*/
|
|
package erlang
|
|
|
|
import (
|
|
"github.com/anchore/syft/syft/pkg"
|
|
"github.com/anchore/syft/syft/pkg/cataloger/generic"
|
|
)
|
|
|
|
// NewRebarLockCataloger returns a new cataloger instance for Erlang rebar.lock files.
|
|
func NewRebarLockCataloger() pkg.Cataloger {
|
|
return generic.NewCataloger("erlang-rebar-lock-cataloger").
|
|
WithParserByGlobs(parseRebarLock, "**/rebar.lock")
|
|
}
|