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