C# Class GitSharp.Core.Transport.PushProcess

Class performing push operation on remote repository.
Inheritance: IDisposable
Datei anzeigen Open project: jagregory/GitSharp Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
PushProcess ( Transport transport, IEnumerable toPush ) : System

* Create process for specified transport and refs updates specification. *

execute ( ProgressMonitor monitor ) : PushResult

Perform push operation between local and remote repository - set remote refs appropriately, send needed objects and update local tracking refs. When Transport.DryRun is true, result of this operation is just estimation of real operation result, no real action is performed.

Private Methods

Method Description
ModifyUpdatesForDryRun ( ) : void
PrepareOperationResult ( ) : PushResult
PrepareRemoteUpdates ( ) : RemoteRefUpdate>.IDictionary
UpdateTrackingRefs ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

PushProcess() public method

* Create process for specified transport and refs updates specification. *
public PushProcess ( Transport transport, IEnumerable toPush ) : System
transport Transport /// * transport between remote and local repository, used to Create /// * connection.
toPush IEnumerable /// * specification of refs updates (and local tracking branches).
return System

execute() public method

Perform push operation between local and remote repository - set remote refs appropriately, send needed objects and update local tracking refs. When Transport.DryRun is true, result of this operation is just estimation of real operation result, no real action is performed.
/// When push operation is not supported by provided transport. /// /// When some error occurred during operation, like I/O, protocol /// error, or local database consistency error. ///
public execute ( ProgressMonitor monitor ) : PushResult
monitor ProgressMonitor /// Progress monitor used for feedback about operation. ///
return PushResult