Beispiel #1
0
 /**
  * Get path to local git repository.
  *
  * @return string
  */
 public function getLocalRepoPath()
 {
     $gitDir = @file_exists($this->gitDir) && @is_dir($this->gitDir) ? $this->gitDir : GlobalConfig::getGitDir() . DIRECTORY_SEPARATOR . $this->input;
     return $gitDir . DIRECTORY_SEPARATOR;
 }