Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
type
ContentMetadata
struct
{
Callers
9
makeCacheLabels
Function · 0.65
refreshCacheMetrics
Method · 0.65
Close
Method · 0.65
GetFile
Method · 0.65
Put
Method · 0.65
fileInfoPath
Method · 0.65
walkDir
Function · 0.65
countFilesWithPrefix
Function · 0.65
Close
Method · 0.65
Implementers
2
fileSystemCache
cache/filesystem_cache.go
redisCache
cache/redis_cache.go
Calls
no outgoing calls
Tested by
1
countFilesWithPrefix
Function · 0.52