Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/docker-agent
/ cacheFilePath
Function
cacheFilePath
pkg/gateway/catalog.go:181–183 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
179
}
180
181
func
cacheFilePath() string {
182
return
filepath.Join(paths.GetCacheDir(), catalogCacheFileName)
183
}
184
185
func
loadFromDisk(path string) cachedCatalog {
186
data, err := os.ReadFile(path)
Callers
1
fetchAndCache
Function · 0.85
Calls
1
GetCacheDir
Function · 0.92
Tested by
no test coverage detected