github.com/anchore/syft@v1.38.2/syft/pkg/cataloger/lua/cataloger.go (about) 1 /* 2 Package lua provides a concrete Cataloger implementation for packages relating to the Lua language ecosystem. 3 */ 4 package lua 5 6 import ( 7 "github.com/anchore/syft/syft/pkg" 8 "github.com/anchore/syft/syft/pkg/cataloger/generic" 9 ) 10 11 // NewPackageCataloger returns a new cataloger object for Lua ROck. 12 func NewPackageCataloger() pkg.Cataloger { 13 return generic.NewCataloger("lua-rock-cataloger"). 14 WithParserByGlobs(parseRockspec, "**/*.rockspec") 15 }