MCPcopy
hub / github.com/aquasecurity/trivy / FSCache

Struct FSCache

pkg/cache/fs.go:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21var _ Cache = &FSCache{}
22
23type FSCache struct {
24 db *bolt.DB
25 directory string
26}
27
28func NewFSCache(cacheDir string) (FSCache, error) {
29 dir := filepath.Join(cacheDir, scanCacheDirName)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected