MCPcopy Create free account
hub / github.com/containers/image / newBICLocationReference

Function newBICLocationReference

docker/cache.go:15–18  ·  view source on GitHub ↗

newBICLocationReference returns a BICLocationReference appropriate for ref.

(ref dockerReference)

Source from the content-addressed store, hash-verified

13
14// newBICLocationReference returns a BICLocationReference appropriate for ref.
15func newBICLocationReference(ref dockerReference) types.BICLocationReference {
16 // Blobs are scoped to repositories (the tag/digest are not necessary to reuse a blob).
17 return types.BICLocationReference{Opaque: ref.ref.Name()}
18}
19
20// parseBICLocationReference returns a repository for encoded lr.
21func parseBICLocationReference(lr types.BICLocationReference) (reference.Named, error) {

Callers 4

getBlobMethod · 0.85
PutBlobWithOptionsMethod · 0.85
tryReusingExactBlobMethod · 0.85

Calls 1

NameMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…