C# Class GitSharp.Core.Transport.UploadPack

Inheritance: IDisposable
Afficher le fichier Open project: stschake/GitSharp Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

Upload() public méthode

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. ///
Résultat void

UploadPack() public méthode

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