MCPcopy
hub / github.com/cli/cli / CacheDir

Method CacheDir

internal/gh/gh.go:70–70  ·  view source on GitHub ↗

CacheDir returns the directory where the cacheable artifacts can be persisted.

()

Source from the content-addressed store, hash-verified

68
69 // CacheDir returns the directory where the cacheable artifacts can be persisted.
70 CacheDir() string
71
72 // Migrate applies a migration to the configuration.
73 Migrate(Migration) error

Callers 5

NewCmdConfigClearCacheFunction · 0.65
NewCmdViewFunction · 0.65
CacheDirMethod · 0.65

Implementers 2

cfginternal/config/config.go
ConfigMockinternal/gh/mock/config.go

Calls

no outgoing calls

Tested by 1