MCPcopy Create free account
hub / github.com/git-bug/git-bug / ListRefs

Method ListRefs

repository/repo.go:183–183  ·  view source on GitHub ↗

ListRefs will return a list of Git ref matching the given refspec

(refPrefix string)

Source from the content-addressed store, hash-verified

181
182 // ListRefs will return a list of Git ref matching the given refspec
183 ListRefs(refPrefix string) ([]string, error)
184
185 // RefExist will check if a reference exist in Git
186 RefExist(ref string) (bool, error)

Callers 11

RepoDataTestFunction · 0.65
MergeAllFunction · 0.65
RemoveFunction · 0.65
ListLocalIdsFunction · 0.65
readAllFunction · 0.65
assertEqualRefsFunction · 0.65
assertNotEqualRefsFunction · 0.65
ReadAllFunction · 0.65
ReadAllClocksNoCheckFunction · 0.65
ListLocalIdsFunction · 0.65
MergeAllFunction · 0.65

Implementers 2

mockRepoDatarepository/mock_repo.go
GoGitReporepository/gogit.go

Calls

no outgoing calls

Tested by 2

assertEqualRefsFunction · 0.52
assertNotEqualRefsFunction · 0.52