MCPcopy Create free account
hub / github.com/docker/cli / ContextStoreDir

Function ContextStoreDir

cli/config/config.go:88–90  ·  view source on GitHub ↗

ContextStoreDir returns the directory the docker contexts are stored in

()

Source from the content-addressed store, hash-verified

86
87// ContextStoreDir returns the directory the docker contexts are stored in
88func ContextStoreDir() string {
89 return filepath.Join(Dir(), contextsDir)
90}
91
92// SetDir sets the directory the configuration file is stored in
93func SetDir(dir string) {

Callers

nothing calls this directly

Calls 1

DirFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…