Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
func
(r *ReferenceStorage) RemoveReference(n plumbing.ReferenceName) error {
35
return
r.dir.RemoveRef(n)
36
}
37
38
func
(r *ReferenceStorage) CountLooseRefs() (int, error) {
39
return
r.dir.CountLooseRefs()
Callers
nothing calls this directly
Calls
1
RemoveRef
Method · 0.80
Tested by
no test coverage detected