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

Struct MemoryCache

pkg/cache/memory.go:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12var _ Cache = &MemoryCache{}
13
14type MemoryCache struct {
15 artifacts sync.Map // Map to store artifact information
16 blobs sync.Map // Map to store blob information
17}
18
19func NewMemoryCache() *MemoryCache {
20 return &MemoryCache{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected