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