MCPcopy Index your code
hub / github.com/docker/cli / GetStorageInfo

Method GetStorageInfo

cli/command/defaultcontextstore.go:198–203  ·  view source on GitHub ↗

GetStorageInfo implements store.Store's GetStorageInfo

(contextName string)

Source from the content-addressed store, hash-verified

196
197// GetStorageInfo implements store.Store's GetStorageInfo
198func (s *ContextStoreWithDefault) GetStorageInfo(contextName string) store.StorageInfo {
199 if contextName == DefaultContextName {
200 return store.StorageInfo{MetadataPath: "<IN MEMORY>", TLSPath: "<IN MEMORY>"}
201 }
202 return s.Store.GetStorageInfo(contextName)
203}

Callers

nothing calls this directly

Calls 1

GetStorageInfoMethod · 0.65

Tested by

no test coverage detected