DNProject::getLocalCVSPath PHP Метод

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

public getLocalCVSPath ( ) : string
Результат string
    public function getLocalCVSPath()
    {
        return sprintf('%s/%s', DEPLOYNAUT_LOCAL_VCS_PATH, $this->Name);
    }

Usage Example

Пример #1
0
 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