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

Method contextDir

cli/context/store/tlsstore.go:17–19  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

15}
16
17func (s *tlsStore) contextDir(name string) string {
18 return filepath.Join(s.root, string(contextdirOf(name)))
19}
20
21func (s *tlsStore) endpointDir(name, endpointName string) string {
22 return filepath.Join(s.contextDir(name), endpointName)

Callers 5

endpointDirMethod · 0.95
removeMethod · 0.95
listContextDataMethod · 0.95
GetStorageInfoMethod · 0.45
TestCorruptMetadataFunction · 0.45

Calls 1

contextdirOfFunction · 0.85

Tested by 1

TestCorruptMetadataFunction · 0.36