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.
| 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. |
| 49 | type 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 | |
| 56 | type Session interface { |
| 57 | // AdvertisedReferences retrieves the advertised references for a |
no outgoing calls
no test coverage detected
searching dependent graphs…