DNProject::getLocalCVSPath PHP Method

getLocalCVSPath() public method

public getLocalCVSPath ( ) : string
return string
    public function getLocalCVSPath()
    {
        return sprintf('%s/%s', DEPLOYNAUT_LOCAL_VCS_PATH, $this->Name);
    }

Usage Example

コード例 #1
0
ファイル: FetchJob.php プロジェクト: silverstripe/deploynaut
 protected function cloneRepo()
 {
     if (file_exists($this->project->getLocalCVSPath())) {
         $this->runCommand(sprintf('rm -rf %s', escapeshellarg($this->project->getLocalCVSPath())));
     }
     $this->runCommand(sprintf('/usr/bin/git clone --bare -q %s %s', escapeshellarg($this->project->CVSPath), escapeshellarg($this->project->getLocalCVSPath())));
 }
All Usage Examples Of DNProject::getLocalCVSPath