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

Function FamiliarName

docker/reference/helpers.go:18–23  ·  view source on GitHub ↗

FamiliarName returns the familiar name string for the given named, familiarizing if needed.

(ref Named)

Source from the content-addressed store, hash-verified

16// FamiliarName returns the familiar name string
17// for the given named, familiarizing if needed.
18func FamiliarName(ref Named) string {
19 if nn, ok := ref.(normalizedNamed); ok {
20 return nn.Familiar().Name()
21 }
22 return ref.Name()
23}
24
25// FamiliarString returns the familiar string representation
26// for the given reference, familiarizing if needed.

Callers 3

ParseReferenceFunction · 0.92
FamiliarMatchFunction · 0.85
TestParseRepositoryInfoFunction · 0.85

Calls 2

NameMethod · 0.65
FamiliarMethod · 0.65

Tested by 1

TestParseRepositoryInfoFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…