MCPcopy Create free account
hub / github.com/containerd/nerdctl / FamiliarMatch

Method FamiliarMatch

pkg/referenceutil/referenceutil.go:66–71  ·  view source on GitHub ↗
(pattern string)

Source from the content-addressed store, hash-verified

64}
65
66func (ir *ImageReference) FamiliarMatch(pattern string) (bool, error) {
67 if ir.nn != nil {
68 return reference.FamiliarMatch(pattern, ir.nn)
69 }
70 return false, nil
71}
72
73func (ir *ImageReference) String() string {
74 if ir.Protocol != "" && ir.Domain == "" {

Callers 2

matchesReferencesFunction · 0.80
TestReferenceUtilFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestReferenceUtilFunction · 0.64