MCPcopy
hub / github.com/git-lfs/git-lfs / credCacheKey

Function credCacheKey

creds/creds.go:419–426  ·  view source on GitHub ↗
(creds Creds)

Source from the content-addressed store, hash-verified

417}
418
419func credCacheKey(creds Creds) string {
420 parts := []string{
421 FirstEntryForKey(creds, "protocol"),
422 FirstEntryForKey(creds, "host"),
423 FirstEntryForKey(creds, "path"),
424 }
425 return strings.Join(parts, "//")
426}
427
428func (c *credentialCacher) Fill(what Creds) (Creds, error) {
429 key := credCacheKey(what)

Callers 3

FillMethod · 0.85
ApproveMethod · 0.85
RejectMethod · 0.85

Calls 1

FirstEntryForKeyFunction · 0.85

Tested by

no test coverage detected