Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepository.php
Show First 20 Lines • Show All 2,034 Lines • ▼ Show 20 Lines | public function supportsSynchronization() { | ||||
// TODO: For now, this is only supported for Git. | // TODO: For now, this is only supported for Git. | ||||
if (!$this->isGit()) { | if (!$this->isGit()) { | ||||
return false; | return false; | ||||
} | } | ||||
return true; | return true; | ||||
} | } | ||||
public function supportsRefs() { | |||||
if ($this->isSVN()) { | |||||
return false; | |||||
} | |||||
return true; | |||||
} | |||||
public function getAlmanacServiceCacheKey() { | public function getAlmanacServiceCacheKey() { | ||||
$service_phid = $this->getAlmanacServicePHID(); | $service_phid = $this->getAlmanacServicePHID(); | ||||
if (!$service_phid) { | if (!$service_phid) { | ||||
return null; | return null; | ||||
} | } | ||||
$repository_phid = $this->getPHID(); | $repository_phid = $this->getPHID(); | ||||
▲ Show 20 Lines • Show All 703 Lines • Show Last 20 Lines |