MCPcopy Create free account
hub / github.com/cli/cli / CacheDir

Method CacheDir

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

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

()

Source from the content-addressed store, hash-verified

77
78 // CacheDir returns the directory where the cacheable artifacts can be persisted.
79 CacheDir() string
80
81 // Migrate applies a migration to the configuration.
82 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