MCPcopy Create free account
hub / github.com/libgit2/git2go / untrack

Method untrack

remote.go:225–229  ·  view source on GitHub ↗

untrack stops tracking the git_remote pointer.

(remote *Remote)

Source from the content-addressed store, hash-verified

223
224// untrack stops tracking the git_remote pointer.
225func (v *remotePointerList) untrack(remote *Remote) {
226 v.Lock()
227 delete(v.pointers, remote.ptr)
228 v.Unlock()
229}
230
231// clear stops tracking all the git_remote pointers.
232func (v *remotePointerList) clear() {

Callers 2

untrackRemoteMethod · 0.80
FreeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected