mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 07:56:36 +01:00
18 lines
440 B
Go
18 lines
440 B
Go
/*
|
|
Package apkdb provides a concrete Cataloger implementation for Alpine DB files.
|
|
*/
|
|
package apkdb
|
|
|
|
import (
|
|
"github.com/anchore/syft/syft/cataloger/common"
|
|
)
|
|
|
|
// NewApkdbCataloger returns a new Alpine DB cataloger object.
|
|
func NewApkdbCataloger() *common.GenericCataloger {
|
|
globParsers := map[string]common.ParserFn{
|
|
"**/lib/apk/db/installed": parseApkDB,
|
|
}
|
|
|
|
return common.NewGenericCataloger(nil, globParsers, "apkdb-cataloger")
|
|
}
|