C# Класс GitSharp.Core.RefUpdate

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Delete ( ) : RefUpdateResult

Delete the ref. This is the same as: return Delete(new RevWalk(repository));

Delete ( RevWalk walk ) : RefUpdateResult

Delete the ref.

DisableRefLog ( ) : void
ForceUpdate ( ) : RefUpdateResult
GetRefLogMessage ( ) : string
RefUpdate ( RefDatabase refDb, Ref r, FileInfo f ) : System
SetRefLogMessage ( string msg, bool appendStatus ) : void
Update ( ) : RefUpdateResult

Gracefully update the ref to the new value. Merge test will be performed according to ForceUpdate. This is the same as: return Update(new RevWalk(repository));

Update ( RevWalk walk ) : RefUpdateResult

Gracefully update the ref to the new value.

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

Метод Описание
Count ( string s, char c ) : int
DeleteEmptyDir ( DirectoryInfo dir, int depth ) : void
RequireCanDoUpdate ( ) : void
SafeParse ( RevWalk rw, AnyObjectId id ) : RevObject
ToResultString ( RefUpdateResult status ) : string
UpdateImpl ( RevWalk walk, StoreBase store ) : RefUpdateResult
UpdateRepositoryStore ( LockFile @lock, RefUpdateResult status ) : RefUpdateResult
isNameConflicting ( ) : bool

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

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

Delete the ref. This is the same as: return Delete(new RevWalk(repository));
public Delete ( ) : RefUpdateResult
Результат RefUpdateResult

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

Delete the ref.
public Delete ( RevWalk walk ) : RefUpdateResult
walk RevWalk /// A instance this Delete command can borrow to /// perform the merge test. The walk will be reset to perform the test. ///
Результат RefUpdateResult

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

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

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

public ForceUpdate ( ) : RefUpdateResult
Результат RefUpdateResult

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

public GetRefLogMessage ( ) : string
Результат string

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

public RefUpdate ( RefDatabase refDb, Ref r, FileInfo f ) : System
refDb RefDatabase
r Ref
f System.IO.FileInfo
Результат System

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

public SetRefLogMessage ( string msg, bool appendStatus ) : void
msg string
appendStatus bool
Результат void

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

Gracefully update the ref to the new value. Merge test will be performed according to ForceUpdate. This is the same as: return Update(new RevWalk(repository));
public Update ( ) : RefUpdateResult
Результат RefUpdateResult

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

Gracefully update the ref to the new value.
public Update ( RevWalk walk ) : RefUpdateResult
walk RevWalk /// A instance this update command can borrow to /// perform the merge test. The walk will be reset to perform the test. ///
Результат RefUpdateResult