MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / newEmptyStore

Function newEmptyStore

internal/cli/credentials.go:163–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161}
162
163func newEmptyStore() *CredentialStore {
164 return &CredentialStore{
165 Version: credentialsVersion,
166 Credentials: map[string]*Credentials{},
167 }
168}
169
170// Get returns the credential for the given server URL, or nil if none
171// exists. URL is canonicalized (trailing slash + whitespace stripped)

Callers 8

LoadStoreFunction · 0.85
migrateV1Function · 0.85

Calls

no outgoing calls