PHP Interface yii2tech\selfupdate\VersionControlSystemInterface

Since: 1.0
Author: Paul Klimov ([email protected])
显示文件 Open project: yii2tech/selfupdate

Public Methods

Method 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 method

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.
return boolean whether the changes have been applied successfully.

hasRemoteChanges() public method

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.
return boolean whether there are changes in remote repository.