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

Function FamiliarString

docker/reference/helpers.go:27–32  ·  view source on GitHub ↗

FamiliarString returns the familiar string representation for the given reference, familiarizing if needed.

(ref Reference)

Source from the content-addressed store, hash-verified

25// FamiliarString returns the familiar string representation
26// for the given reference, familiarizing if needed.
27func FamiliarString(ref Reference) string {
28 if nn, ok := ref.(normalizedNamed); ok {
29 return nn.Familiar().String()
30 }
31 return ref.String()
32}
33
34// FamiliarMatch reports whether ref matches the specified pattern.
35// See https://godoc.org/path#Match for supported patterns.

Callers 12

NewReferenceFunction · 0.92
StringWithinTransportMethod · 0.92
newReferenceFunction · 0.92
StringWithinTransportMethod · 0.92
tagOrDigestMethod · 0.92
DockerReferenceIdentityFunction · 0.92
NewReferenceFunction · 0.92
StringWithinTransportMethod · 0.92
FamiliarMatchFunction · 0.85

Calls 2

StringMethod · 0.65
FamiliarMethod · 0.65

Used in the wild real call sites across dependent graphs

searching dependent graphs…