mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 23:16:30 +01:00
16 lines
448 B
Go
16 lines
448 B
Go
/*
|
|
Package lua provides a concrete Cataloger implementation for packages relating to the Lua language ecosystem.
|
|
*/
|
|
package lua
|
|
|
|
import (
|
|
"github.com/anchore/syft/syft/pkg"
|
|
"github.com/anchore/syft/syft/pkg/cataloger/generic"
|
|
)
|
|
|
|
// NewPackageCataloger returns a new cataloger object for Lua ROck.
|
|
func NewPackageCataloger() pkg.Cataloger {
|
|
return generic.NewCataloger("lua-rock-cataloger").
|
|
WithParserByGlobs(parseRockspec, "**/*.rockspec")
|
|
}
|