C# 클래스 GitSharp.Core.RefUpdate

파일 보기 프로젝트 열기: jagregory/GitSharp 1 사용 예제들

공개 메소드들

메소드 설명
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