PHP 클래스 Horde_Vcs_Cvs, horde

Constructor args: - 'sourceroot': The source root for this repository - 'paths': Hash with the locations of all necessary binaries: 'rcsdiff', 'rlog', 'cvsps', 'cvsps_home', and 'temp' (the temp path). - 'timezone': Timezone, necessary for cvsps. Copyright 2000-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Anil Madhavapeddy ([email protected])
저자: Michael Slusarz ([email protected])
상속: extends Horde_Vcs_Rcs
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_driver string The current driver.
$_features array Driver features.

공개 메소드들

메소드 설명
__construct ( $params = [] ) Constructor.
annotate ( $fileob, $rev ) TODO
checkout ( string $fullname, string $rev ) : resource Returns a file pointing to the head of the requested revision of a file.
getFile ( $filename, $opts = [] ) TODO
isFile ( $where ) TODO

보호된 메소드들

메소드 설명
_diff ( Horde_Vcs_File_Base $file, string $rev1, string $rev2, array $opts ) : string | boolean Obtain the differences between two revisions of a file.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( $params = [] )

_diff() 보호된 메소드

Obtain the differences between two revisions of a file.
protected _diff ( Horde_Vcs_File_Base $file, string $rev1, string $rev2, array $opts ) : string | boolean
$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 | boolean False on failure, or a string containing the diff on success.

annotate() 공개 메소드

TODO
public annotate ( $fileob, $rev )

checkout() 공개 메소드

Returns a file pointing to the head of the requested revision of a file.
public checkout ( string $fullname, string $rev ) : resource
$fullname string Fully qualified pathname of the desired file to checkout.
$rev string Revision number to check out.
리턴 resource A stream pointer to the head of the checkout.

getFile() 공개 메소드

TODO
public getFile ( $filename, $opts = [] )

isFile() 공개 메소드

TODO
public isFile ( $where )

프로퍼티 상세

$_driver 보호되어 있는 프로퍼티

The current driver.
protected string $_driver
리턴 string

$_features 보호되어 있는 프로퍼티

Driver features.
protected array $_features
리턴 array