C# Класс GitSharp.Core.Transport.PushProcess

Class performing push operation on remote repository.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ModifyUpdatesForDryRun ( ) : void
PrepareOperationResult ( ) : PushResult
PrepareRemoteUpdates ( ) : RemoteRefUpdate>.IDictionary
UpdateTrackingRefs ( ) : void

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

PushProcess() публичный Метод

* 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).
Результат System

execute() публичный Метод

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. ///
Результат PushResult