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

Method free

remote.go:612–617  ·  view source on GitHub ↗

free releases the resources of the Remote.

()

Source from the content-addressed store, hash-verified

610
611// free releases the resources of the Remote.
612func (r *Remote) free() {
613 runtime.SetFinalizer(r, nil)
614 C.git_remote_free(r.ptr)
615 r.ptr = nil
616 r.repo = nil
617}
618
619// Free releases the resources of the Remote.
620func (r *Remote) Free() {

Callers 15

FreeMethod · 0.95
freeRebaseOptionsFunction · 0.80
CommitMethod · 0.80
toCMethod · 0.80
freeCIndexEntryFunction · 0.80
OpenIndexFunction · 0.80
AddByPathMethod · 0.80
RemoveByPathMethod · 0.80
RemoveDirectoryMethod · 0.80
EntryByPathMethod · 0.80
FindMethod · 0.80
FindPrefixMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected