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

Function NewFileStore

cli/config/credentials/file_store.go:27–29  ·  view source on GitHub ↗

NewFileStore creates a new file credentials store.

(file store)

Source from the content-addressed store, hash-verified

25
26// NewFileStore creates a new file credentials store.
27func NewFileStore(file store) Store {
28 return &fileStore{file: file}
29}
30
31// Erase removes the given credentials from the file store.This function is
32// idempotent and does not update the file if credentials did not change.

Calls

no outgoing calls

Tested by 14

TestFileStoreIdempotentFunction · 0.68
TestFileStoreGetFunction · 0.68
TestFileStoreGetAllFunction · 0.68
TestFileStoreEraseFunction · 0.68
TestNativeStoreGetFunction · 0.68
TestNativeStoreGetAllFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…