MCPcopy Create free account
hub / github.com/astercloud/aster / getCacheFilePath

Method getCacheFilePath

pkg/tools/cache.go:385–387  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

383}
384
385func (c *ToolCache) getCacheFilePath(key string) string {
386 return filepath.Join(c.config.CacheDir, key+".json")
387}
388
389// 后台清理任务
390

Callers 4

getFromFileMethod · 0.95
setToFileMethod · 0.95
deleteFromFileMethod · 0.95
TestToolCache_FileCacheFunction · 0.95

Calls 1

JoinMethod · 0.45

Tested by 1

TestToolCache_FileCacheFunction · 0.76