MCPcopy Create free account
hub / github.com/go-git/go-git / RemoveReference

Method RemoveReference

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

Source from the content-addressed store, hash-verified

32}
33
34func (r *ReferenceStorage) RemoveReference(n plumbing.ReferenceName) error {
35 return r.dir.RemoveRef(n)
36}
37
38func (r *ReferenceStorage) CountLooseRefs() (int, error) {
39 return r.dir.CountLooseRefs()

Callers

nothing calls this directly

Calls 1

RemoveRefMethod · 0.80

Tested by

no test coverage detected