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

Method untrackRemote

remote.go:644–650  ·  view source on GitHub ↗
(r *Remote)

Source from the content-addressed store, hash-verified

642}
643
644func (c *RemoteCollection) untrackRemote(r *Remote) {
645 c.Lock()
646 delete(c.remotes, r.ptr)
647 c.Unlock()
648
649 remotePointers.untrack(r)
650}
651
652func (c *RemoteCollection) List() ([]string, error) {
653 var r C.git_strarray

Callers 2

remoteCreateCallbackFunction · 0.80
FreeMethod · 0.80

Calls 1

untrackMethod · 0.80

Tested by

no test coverage detected