MCPcopy
hub / github.com/go-git/go-git / Transport

Interface Transport

plumbing/transport/common.go:49–54  ·  view source on GitHub ↗

Transport can initiate git-upload-pack and git-receive-pack processes. It is implemented both by the client and the server, making this a RPC.

Source from the content-addressed store, hash-verified

47// Transport can initiate git-upload-pack and git-receive-pack processes.
48// It is implemented both by the client and the server, making this a RPC.
49type Transport interface {
50 // NewUploadPackSession starts a git-upload-pack session for an endpoint.
51 NewUploadPackSession(*Endpoint, AuthMethod) (UploadPackSession, error)
52 // NewReceivePackSession starts a git-receive-pack session for an endpoint.
53 NewReceivePackSession(*Endpoint, AuthMethod) (ReceivePackSession, error)
54}
55
56type Session interface {
57 // AdvertisedReferences retrieves the advertised references for a

Implementers 5

dummyClientplumbing/transport/client/client_test.
clientplumbing/transport/http/common.go
clientplumbing/transport/internal/common/com
serverplumbing/transport/server/server.go
handlerplumbing/transport/server/server.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…