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

Method Untrack

handles.go:40–45  ·  view source on GitHub ↗

Untrack stops tracking the pointer given by the handle

(handle unsafe.Pointer)

Source from the content-addressed store, hash-verified

38
39// Untrack stops tracking the pointer given by the handle
40func (v *HandleList) Untrack(handle unsafe.Pointer) {
41 v.Lock()
42 delete(v.handles, handle)
43 C.free(handle)
44 v.Unlock()
45}
46
47// Clear stops tracking all the managed pointers.
48func (v *HandleList) Clear() {

Callers 15

freeRebaseOptionsFunction · 0.80
AddAllMethod · 0.80
UpdateAllMethod · 0.80
RemoveAllMethod · 0.80
WalkMethod · 0.80
ForEachMethod · 0.80
freeDiffOptionsFunction · 0.80
DiffBlobsFunction · 0.80
freeApplyOptionsFunction · 0.80
freeStashApplyOptionsFunction · 0.80
ForeachMethod · 0.80

Calls 1

freeMethod · 0.80

Tested by

no test coverage detected