MCPcopy Create free account
hub / github.com/driusan/dgit / MatchesRefSpecSrc

Method MatchesRefSpecSrc

git/showref.go:28–47  ·  view source on GitHub ↗

MatchesRSSrc determines whether the ref matches the src of a refspec. If it matches the src, it also returns the destination

(spec RefSpec)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

FetchFunction · 0.80

Calls 4

RefnameTypeAlias · 0.85
SrcMethod · 0.80
DstMethod · 0.80
HasPrefixMethod · 0.80

Tested by

no test coverage detected