C# 클래스 GitSharp.AbstractCommand

Abstract base class of all git commands. It provides basic infrastructure
상속: IGitCommand
파일 보기 프로젝트 열기: stschake/GitSharp

보호된 프로퍼티들

프로퍼티 타입 설명
_gitDirectory string

공개 메소드들

메소드 설명
Execute ( ) : void

Execute the git command.

FindGitDirectory ( string rootDirectory, bool recursive, bool isBare ) : string

Performs upward recursive lookup to return git directory. Honors the environment variable GIT_DIR.

보호된 메소드들

메소드 설명
AbbreviateRef ( String dst, bool abbreviateRemote ) : string

Abbreviates a ref-name, used in internal output

메소드 상세

AbbreviateRef() 보호된 메소드

Abbreviates a ref-name, used in internal output
protected AbbreviateRef ( String dst, bool abbreviateRemote ) : string
dst String long ref
abbreviateRemote bool abbreviate as remote
리턴 string

Execute() 공개 추상적인 메소드

Execute the git command.
public abstract Execute ( ) : void
리턴 void

FindGitDirectory() 공개 정적인 메소드

Performs upward recursive lookup to return git directory. Honors the environment variable GIT_DIR.
public static FindGitDirectory ( string rootDirectory, bool recursive, bool isBare ) : string
rootDirectory string
recursive bool
isBare bool
리턴 string

프로퍼티 상세

_gitDirectory 보호되어 있는 프로퍼티

protected string _gitDirectory
리턴 string