C# Class GitSharp.Core.RefUpdate

Afficher le fichier Open project: jagregory/GitSharp Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

Delete() public méthode

Delete the ref. This is the same as: return Delete(new RevWalk(repository));
public Delete ( ) : RefUpdateResult
Résultat RefUpdateResult

Delete() public méthode

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

DisableRefLog() public méthode

public DisableRefLog ( ) : void
Résultat void

ForceUpdate() public méthode

public ForceUpdate ( ) : RefUpdateResult
Résultat RefUpdateResult

GetRefLogMessage() public méthode

public GetRefLogMessage ( ) : string
Résultat string

RefUpdate() public méthode

public RefUpdate ( RefDatabase refDb, Ref r, FileInfo f ) : System
refDb RefDatabase
r Ref
f System.IO.FileInfo
Résultat System

SetRefLogMessage() public méthode

public SetRefLogMessage ( string msg, bool appendStatus ) : void
msg string
appendStatus bool
Résultat void

Update() public méthode

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
Résultat RefUpdateResult

Update() public méthode

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