C# Class GitSharp.Core.RefUpdate

ファイルを表示 Open project: jagregory/GitSharp Class Usage Examples

Public Methods

Method 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

Method 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 method

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

Delete() public method

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. ///
return RefUpdateResult

DisableRefLog() public method

public DisableRefLog ( ) : void
return void

ForceUpdate() public method

public ForceUpdate ( ) : RefUpdateResult
return RefUpdateResult

GetRefLogMessage() public method

public GetRefLogMessage ( ) : string
return string

RefUpdate() public method

public RefUpdate ( RefDatabase refDb, Ref r, FileInfo f ) : System
refDb RefDatabase
r Ref
f System.IO.FileInfo
return System

SetRefLogMessage() public method

public SetRefLogMessage ( string msg, bool appendStatus ) : void
msg string
appendStatus bool
return void

Update() public method

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
return RefUpdateResult

Update() public method

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. ///
return RefUpdateResult