mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 00:13:15 +01:00
--------- Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
17 lines
506 B
Go
17 lines
506 B
Go
/*
|
|
Package ai provides concrete Cataloger implementations for AI artifacts and machine learning models,
|
|
including support for GGUF (GPT-Generated Unified Format) model files.
|
|
*/
|
|
package ai
|
|
|
|
import (
|
|
"github.com/anchore/syft/syft/pkg"
|
|
"github.com/anchore/syft/syft/pkg/cataloger/generic"
|
|
)
|
|
|
|
// NewGGUFCataloger returns a new cataloger instance for GGUF model files.
|
|
func NewGGUFCataloger() pkg.Cataloger {
|
|
return generic.NewCataloger("gguf-cataloger").
|
|
WithParserByGlobs(parseGGUFModel, "**/*.gguf")
|
|
}
|