MCPcopy Index your code
hub / github.com/driusan/dgit / ForEachRefCallback

Function ForEachRefCallback

git/foreachref.go:10–32  ·  view source on GitHub ↗

Calls callback for each ref under c's GitDir which has prefix as a prefix.

(c *Client, prefix string, callback func(*Client, Ref) error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

RemoteShowFunction · 0.85

Calls 5

parseRefFunction · 0.85
IsDirMethod · 0.80
HasPrefixMethod · 0.80
StringMethod · 0.65
FileMethod · 0.45

Tested by

no test coverage detected