C# Class GitSharp.Core.Transport.UploadPack

Inheritance: IDisposable
Datei anzeigen Open project: stschake/GitSharp Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Upload ( Stream input, Stream output, Stream messages ) : void

Execute the upload task on the socket.

UploadPack ( Repository copyFrom ) : System

Create a new pack upload for an open repository.

Private Methods

Method Description
AddCommonBase ( RevObject o ) : void
MatchHave ( AnyObjectId id ) : bool
Negotiate ( ) : void
OkToGiveUp ( ) : bool
RecvWants ( ) : void
SendAdvertisedRefs ( ) : void
SendPack ( ) : void
Service ( ) : void
Want ( RevObject o ) : void
WantSatisfied ( RevCommit want ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Upload() public method

Execute the upload task on the socket.
public Upload ( Stream input, Stream output, Stream messages ) : void
input Stream /// raw input to read client commands from. Caller must ensure the /// input is buffered, otherwise read performance may suffer. ///
output Stream /// response back to the Git network client, to write the pack /// data onto. Caller must ensure the output is buffered, /// otherwise write performance may suffer. ///
messages Stream /// secondary "notice" channel to send additional messages out /// through. When run over SSH this should be tied back to the /// standard error channel of the command execution. For most /// other network connections this should be null. ///
return void

UploadPack() public method

Create a new pack upload for an open repository.
public UploadPack ( Repository copyFrom ) : System
copyFrom Repository the source repository.
return System