C# 클래스 GitSharp.Ref

Ref is a named symbolic reference that is a pointing to a specific git object. It is not resolved until you explicitly retrieve the link target. The Target is not cached.
상속: IReferenceObject
파일 보기 프로젝트 열기: stschake/GitSharp 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int
IsValidName ( string refName ) : bool

Check validity of a ref name. It must not contain a character that has a special meaning in a Git object reference expression. Some other dangerous characters are also excluded.

Ref ( Repository repo, string name ) : System
ToString ( ) : string
Update ( AbstractObject reference ) : void

Updates this ref by forwarding it to the given object.

Update ( Ref reference ) : void

Updates this ref by linking it to the given ref's target.

Update ( string name, AbstractObject reference ) : void
operator ( ) : bool

비공개 메소드들

메소드 설명
Ref ( Repository repo, GitSharp.Core.Ref @ref ) : System

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IsValidName() 공개 정적인 메소드

Check validity of a ref name. It must not contain a character that has a special meaning in a Git object reference expression. Some other dangerous characters are also excluded.
public static IsValidName ( string refName ) : bool
refName string
리턴 bool

Ref() 공개 메소드

public Ref ( Repository repo, string name ) : System
repo Repository
name string
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Update() 공개 메소드

Updates this ref by forwarding it to the given object.
public Update ( AbstractObject reference ) : void
reference AbstractObject The ref this object shall reference.
리턴 void

Update() 공개 메소드

Updates this ref by linking it to the given ref's target.
public Update ( Ref reference ) : void
reference Ref The ref this ref shall reference.
리턴 void

Update() 공개 정적인 메소드

public static Update ( string name, AbstractObject reference ) : void
name string
reference AbstractObject
리턴 void

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool