Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ CacheDir
Method
CacheDir
internal/config/config.go:213–215 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
211
}
212
213
func
(c *cfg) CacheDir() string {
214
return
ghConfig.CacheDir()
215
}
216
217
func
defaultFor(key string) o.Option[string] {
218
for
_, co :=
range
Options {
Callers
1
NewMockConfigFromString
Function · 0.95
Calls
1
CacheDir
Method · 0.65
Tested by
no test coverage detected