MCPcopy
hub / github.com/go-git/go-git / matchExact

Method matchExact

config/refspec.go:96–98  ·  view source on GitHub ↗
(n plumbing.ReferenceName)

Source from the content-addressed store, hash-verified

94}
95
96func (s RefSpec) matchExact(n plumbing.ReferenceName) bool {
97 return s.Src() == n.String()
98}
99
100func (s RefSpec) matchGlob(n plumbing.ReferenceName) bool {
101 src := s.Src()

Callers 1

MatchMethod · 0.95

Calls 2

SrcMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected