Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/git2go
/ PruneRefs
Method
PruneRefs
remote.go:1192–1194 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1190
}
1191
1192
func
(o *Remote) PruneRefs() bool {
1193
return
C.git_remote_prune_refs(o.ptr) > 0
1194
}
1195
1196
func
(o *Remote) Prune(callbacks *RemoteCallbacks) error {
1197
var
err error
Callers
1
TestRemotePruneRefs
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestRemotePruneRefs
Function · 0.64