PHP Interface yii2tech\selfupdate\VersionControlSystemInterface

Since: 1.0
Author: Paul Klimov ([email protected])
Afficher le fichier Open project: yii2tech/selfupdate

Méthodes publiques

Méthode Description
applyRemoteChanges ( string $projectRoot, string &$log = null ) : boolean Applies changes from remote repository.
hasRemoteChanges ( string $projectRoot, string &$log = null ) : boolean Checks, if there are some changes in remote repository.

Method Details

applyRemoteChanges() public méthode

Applies changes from remote repository.
public applyRemoteChanges ( string $projectRoot, string &$log = null ) : boolean
$projectRoot string VCS project root directory path.
$log string if parameter passed it will be filled with related log string.
Résultat boolean whether the changes have been applied successfully.

hasRemoteChanges() public méthode

Checks, if there are some changes in remote repository.
public hasRemoteChanges ( string $projectRoot, string &$log = null ) : boolean
$projectRoot string VCS project root directory path.
$log string if parameter passed it will be filled with related log string.
Résultat boolean whether there are changes in remote repository.