PHP 클래스 SebastianBergmann\Git\Git

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

공개 메소드들

메소드 설명
__construct ( string $repositoryPath )
checkout ( string $revision )
getCurrentBranch ( ) : string
getDiff ( string $from, string $to ) : string
getRevisions ( ) : array
isWorkingCopyClean ( ) : boolean

보호된 메소드들

메소드 설명
execute ( string $command )

메소드 상세

__construct() 공개 메소드

public __construct ( string $repositoryPath )
$repositoryPath string

checkout() 공개 메소드

public checkout ( string $revision )
$revision string

execute() 보호된 메소드

protected execute ( string $command )
$command string

getCurrentBranch() 공개 메소드

public getCurrentBranch ( ) : string
리턴 string

getDiff() 공개 메소드

public getDiff ( string $from, string $to ) : string
$from string
$to string
리턴 string

getRevisions() 공개 메소드

public getRevisions ( ) : array
리턴 array

isWorkingCopyClean() 공개 메소드

public isWorkingCopyClean ( ) : boolean
리턴 boolean