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
485 B
Go
16 lines
485 B
Go
/*
|
|
Package arch provides a concrete Cataloger implementations for packages relating to the Arch linux distribution.
|
|
*/
|
|
package arch
|
|
|
|
import (
|
|
"github.com/anchore/syft/syft/pkg"
|
|
"github.com/anchore/syft/syft/pkg/cataloger/generic"
|
|
)
|
|
|
|
// NewDBCataloger returns a new cataloger object initialized for arch linux pacman database flat-file stores.
|
|
func NewDBCataloger() pkg.Cataloger {
|
|
return generic.NewCataloger("alpm-db-cataloger").
|
|
WithParserByGlobs(parseAlpmDB, pkg.AlpmDBGlob)
|
|
}
|