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

Method Name

cache/cache.go:16–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 Get(key *Key) (*CachedData, error)
15 Put(r io.Reader, ctMetadata ContentMetadata, key *Key) (time.Duration, error)
16 Name() string
17}
18
19type ContentMetadata struct {

Callers 9

makeCacheLabelsFunction · 0.65
refreshCacheMetricsMethod · 0.65
CloseMethod · 0.65
GetFileMethod · 0.65
PutMethod · 0.65
fileInfoPathMethod · 0.65
walkDirFunction · 0.65
countFilesWithPrefixFunction · 0.65
CloseMethod · 0.65

Implementers 2

fileSystemCachecache/filesystem_cache.go
redisCachecache/redis_cache.go

Calls

no outgoing calls

Tested by 1

countFilesWithPrefixFunction · 0.52