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

Method Close

transport.go:193–193  ·  view source on GitHub ↗

Close closes the SmartSubtransport. Subtransports are guaranteed a call to Close between calls to Action, except for the following two "natural" progressions of actions against a constant URL. 1. UPLOADPACK_LS -> UPLOADPACK 2. RECEIVEPACK_LS -> RECEIVEPACK

()

Source from the content-addressed store, hash-verified

191 // 1. UPLOADPACK_LS -> UPLOADPACK
192 // 2. RECEIVEPACK_LS -> RECEIVEPACK
193 Close() error
194
195 // Free releases the resources of the SmartSubtransport.
196 Free()

Callers 9

ReadMethod · 0.65
FreeMethod · 0.65
sendRequestMethod · 0.65
startSSHServerFunction · 0.65
TestRemoteSSHFunction · 0.65
CloseMethod · 0.65
TestOdbStreamFunction · 0.65
TestOdbBackendLooseFunction · 0.65

Implementers 3

testSmartSubtransporttransport_test.go

Calls

no outgoing calls

Tested by 4

startSSHServerFunction · 0.52
TestRemoteSSHFunction · 0.52
TestOdbStreamFunction · 0.52
TestOdbBackendLooseFunction · 0.52