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

Function CacheDir

pkg/config/paths.go:113–116  ·  view source on GitHub ↗

CacheDir returns the cache directory. This is for temporary data that can be safely deleted.

()

Source from the content-addressed store, hash-verified

111// CacheDir returns the cache directory.
112// This is for temporary data that can be safely deleted.
113func CacheDir() string {
114 initPaths()
115 return cacheDir
116}
117
118// ConfigFile returns the path to the main configuration file.
119func ConfigFile() string {

Callers 3

demonstrateStandardPathsFunction · 0.92
EnsureAllDirsFunction · 0.85
TestCacheDirFunction · 0.85

Calls 1

initPathsFunction · 0.85

Tested by 1

TestCacheDirFunction · 0.68