PHP Class SebastianBergmann\Git\Git

Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $repositoryPath )
checkout ( string $revision )
getCurrentBranch ( ) : string
getDiff ( string $from, string $to ) : string
getRevisions ( ) : array
isWorkingCopyClean ( ) : boolean

Méthodes protégées

Méthode Description
execute ( string $command )

Method Details

__construct() public méthode

public __construct ( string $repositoryPath )
$repositoryPath string

checkout() public méthode

public checkout ( string $revision )
$revision string

execute() protected méthode

protected execute ( string $command )
$command string

getCurrentBranch() public méthode

public getCurrentBranch ( ) : string
Résultat string

getDiff() public méthode

public getDiff ( string $from, string $to ) : string
$from string
$to string
Résultat string

getRevisions() public méthode

public getRevisions ( ) : array
Résultat array

isWorkingCopyClean() public méthode

public isWorkingCopyClean ( ) : boolean
Résultat boolean