C# Class GitSharp.Core.Transport.PushProcess

Class performing push operation on remote repository.
Inheritance: IDisposable
Afficher le fichier Open project: jagregory/GitSharp Class Usage Examples

Méthodes publiques

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

Méthode Description
ModifyUpdatesForDryRun ( ) : void
PrepareOperationResult ( ) : PushResult
PrepareRemoteUpdates ( ) : RemoteRefUpdate>.IDictionary
UpdateTrackingRefs ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

PushProcess() public méthode

* 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).
Résultat System

execute() public méthode

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