'sourceroot': The source root for this repository 'paths': Hash with the locations of all necessary binaries: 'git'파일 보기 프로젝트 열기: horde/horde
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$version | string | The git version |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_branchlist | array | The list of branches for the repo. | |
$_diffTypes | array | The available diff types. | |
$_driver | string | The current driver. | |
$_features | array | Driver features. |
메소드 | 설명 | |
---|---|---|
__construct ( $params = [] ) | ||
abbrev ( string $rev ) : string | Returns an abbreviated form of the revision, for display. | |
annotate ( $fileob, $rev ) | TODO | |
checkout ( $file, string $rev ) : resource | Function which returns a file pointing to the head of the requested revision of a file. | |
getBranchList ( ) | TODO | |
getCommand ( ) | TODO | |
getDefaultBranch ( ) | ||
getRevisionRange ( Horde_Vcs_File_Base $file, string $r1, string $r2 ) : array | Create a range of revisions between two revision numbers. | |
isFile ( $where, $branch = null ) | TODO | |
isValidRevision ( $rev ) | TODO | |
runCommand ( string $args ) : array(resource, | Runs a git commands. |
메소드 | 설명 | |
---|---|---|
_diff ( Horde_Vcs_File_Base $file, string $rev1, string $rev2, array $opts ) : string | Obtain the differences between two revisions of a file. | |
_getRevisionRange ( Horde_Vcs_File_Git $file, $r1, $r2 ) | TODO |
protected _diff ( Horde_Vcs_File_Base $file, string $rev1, string $rev2, array $opts ) : string | ||
$file | Horde_Vcs_File_Base | The desired file. |
$rev1 | string | Original revision number to compare from. |
$rev2 | string | New revision number to compare against. |
$opts | array | The following optional options: - 'num': (integer) DEFAULT: 3 - 'type': (string) DEFAULT: 'unified' - 'ws': (boolean) DEFAULT: true |
리턴 | string | The diff text. |
protected _getRevisionRange ( Horde_Vcs_File_Git $file, $r1, $r2 ) | ||
$file | Horde_Vcs_File_Git |
public runCommand ( string $args ) : array(resource, | ||
$args | string | Any arguments for the git command. Must be escaped. |
리턴 | array(resource, |