Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
96
func
(s RefSpec) matchExact(n plumbing.ReferenceName) bool {
97
return
s.Src() == n.String()
98
}
99
100
func
(s RefSpec) matchGlob(n plumbing.ReferenceName) bool {
101
src := s.Src()
Callers
1
Match
Method · 0.95
Calls
2
Src
Method · 0.95
String
Method · 0.65
Tested by
no test coverage detected