PHP Интерфейс yii2tech\selfupdate\VersionControlSystemInterface

С версии: 1.0
Автор: Paul Klimov ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

applyRemoteChanges() публичный Метод

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.
Результат boolean whether the changes have been applied successfully.

hasRemoteChanges() публичный Метод

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.
Результат boolean whether there are changes in remote repository.