MCPcopy Index your code
hub / github.com/go-git/go-git / Reference

Method Reference

storage/filesystem/reference.go:21–23  ·  view source on GitHub ↗
(n plumbing.ReferenceName)

Source from the content-addressed store, hash-verified

19}
20
21func (r *ReferenceStorage) Reference(n plumbing.ReferenceName) (*plumbing.Reference, error) {
22 return r.dir.Ref(n)
23}
24
25func (r *ReferenceStorage) IterReferences() (storer.ReferenceIter, error) {
26 refs, err := r.dir.Refs()

Callers

nothing calls this directly

Calls 1

RefMethod · 0.80

Tested by

no test coverage detected