MCPcopy 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
181func cacheFilePath() string {
182 return filepath.Join(paths.GetCacheDir(), catalogCacheFileName)
183}
184
185func loadFromDisk(path string) cachedCatalog {
186 data, err := os.ReadFile(path)

Callers 1

fetchAndCacheFunction · 0.85

Calls 1

GetCacheDirFunction · 0.92

Tested by

no test coverage detected