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

Function smartSubtransportStreamFreeCallback

transport.go:496–504  ·  view source on GitHub ↗

export smartSubtransportStreamFreeCallback

(s *C.git_smart_subtransport_stream)

Source from the content-addressed store, hash-verified

494
495//export smartSubtransportStreamFreeCallback
496func smartSubtransportStreamFreeCallback(s *C.git_smart_subtransport_stream) {
497 stream := getSmartSubtransportStreamInterface(s)
498
499 stream.underlying.Free()
500 pointerHandles.Untrack(stream.handle)
501 C.free(unsafe.Pointer(stream.streamPtr))
502 stream.handle = nil
503 stream.streamPtr = nil
504}

Callers

nothing calls this directly

Calls 4

UntrackMethod · 0.80
freeMethod · 0.80
FreeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…