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

Function bicTransportScope

docker/cache.go:9–12  ·  view source on GitHub ↗

bicTransportScope returns a BICTransportScope appropriate for ref.

(ref dockerReference)

Source from the content-addressed store, hash-verified

7
8// bicTransportScope returns a BICTransportScope appropriate for ref.
9func bicTransportScope(ref dockerReference) types.BICTransportScope {
10 // Blobs can be reused across the whole registry.
11 return types.BICTransportScope{Opaque: reference.Domain(ref.ref)}
12}
13
14// newBICLocationReference returns a BICLocationReference appropriate for ref.
15func newBICLocationReference(ref dockerReference) types.BICLocationReference {

Callers 4

getBlobMethod · 0.85
PutBlobWithOptionsMethod · 0.85
tryReusingExactBlobMethod · 0.85

Calls 1

DomainFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…