Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
385
func
(c *ToolCache) getCacheFilePath(key string) string {
386
return
filepath.Join(c.config.CacheDir, key+
".json"
)
387
}
388
389
// 后台清理任务
390
Callers
4
getFromFile
Method · 0.95
setToFile
Method · 0.95
deleteFromFile
Method · 0.95
TestToolCache_FileCache
Function · 0.95
Calls
1
Join
Method · 0.45
Tested by
1
TestToolCache_FileCache
Function · 0.76