MCPcopy Create free account
hub / github.com/Azure/peerd / fileCache

Struct fileCache

pkg/cache/filecache.go:21–27  ·  view source on GitHub ↗

fileCache implements FileCache.

Source from the content-addressed store, hash-verified

19
20// fileCache implements FileCache.
21type fileCache struct {
22 fileCache *ristretto.Cache
23 metadataCache *SyncMap
24 path string
25 lock sync.RWMutex
26 log zerolog.Logger
27}
28
29var _ Cache = &fileCache{}
30

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected