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

Method Familiar

docker/reference/normalize.go:147–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func (c canonicalReference) Familiar() Named {
148 return canonicalReference{
149 namedRepository: familiarizeName(c.namedRepository),
150 digest: c.digest,
151 }
152}
153
154// TagNameOnly adds the default tag "latest" to a reference if it only has
155// a repo name.

Callers

nothing calls this directly

Calls 1

familiarizeNameFunction · 0.85

Tested by

no test coverage detected