MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / Stats

Method Stats

cache/filesystem_cache.go:85–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (f *fileSystemCache) Stats() Stats {
86 var s Stats
87 s.Size = atomic.LoadUint64(&f.stats.Size)
88 s.Items = atomic.LoadUint64(&f.stats.Items)
89 return s
90}
91
92func (f *fileSystemCache) Get(key *Key) (*CachedData, error) {
93 fp := key.filePath(f.dir)

Callers 1

cleanerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected