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

Function NewStore

cli/manifest/store/store.go:32–34  ·  view source on GitHub ↗

NewStore returns a new store for a local file path

(root string)

Source from the content-addressed store, hash-verified

30
31// NewStore returns a new store for a local file path
32func NewStore(root string) Store {
33 return &fsStore{root: root}
34}
35
36// Remove a manifest list from local storage
37func (s *fsStore) Remove(listRef reference.Reference) error {

Callers 4

TestStoreRemoveFunction · 0.85
TestStoreSaveAndGetFunction · 0.85
TestStoreGetListFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestStoreRemoveFunction · 0.68
TestStoreSaveAndGetFunction · 0.68
TestStoreGetListFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…