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

Interface SmartSubtransportStream

transport.go:201–207  ·  view source on GitHub ↗

SmartSubtransportStream is the interface for streams used by the smart transport to read and write data from a subtransport.

Source from the content-addressed store, hash-verified

199// SmartSubtransportStream is the interface for streams used by the smart
200// transport to read and write data from a subtransport.
201type SmartSubtransportStream interface {
202 io.Reader
203 io.Writer
204
205 // Free releases the resources of the SmartSubtransportStream.
206 Free()
207}
208
209// SmartSubtransportCallback is a function which creates a new subtransport for
210// the smart transport.

Callers

nothing calls this directly

Implementers 15

Repositoryrepository.go
Rebaserebase.go
Indexindex.go
Patchpatch.go
testSmartSubtransporttransport_test.go
Odbodb.go
Refdbrefdb.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…