Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistRepositoryAPI.php
Show First 20 Lines • Show All 739 Lines • ▼ Show 20 Lines | /* -( Base Commits )------------------------------------------------------- */ | ||||
protected function newCurrentCommitSymbol() { | protected function newCurrentCommitSymbol() { | ||||
throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
} | } | ||||
final public function newCommitRef() { | final public function newCommitRef() { | ||||
return new ArcanistCommitRef(); | return new ArcanistCommitRef(); | ||||
} | } | ||||
final public function newBranchRef() { | final public function newMarkerRef() { | ||||
return new ArcanistBranchRef(); | return new ArcanistMarkerRef(); | ||||
} | } | ||||
final public function getLandEngine() { | final public function getLandEngine() { | ||||
$engine = $this->newLandEngine(); | $engine = $this->newLandEngine(); | ||||
if ($engine) { | if ($engine) { | ||||
$engine->setRepositoryAPI($this); | $engine->setRepositoryAPI($this); | ||||
} | } | ||||
return $engine; | return $engine; | ||||
} | } | ||||
protected function newLandEngine() { | protected function newLandEngine() { | ||||
return null; | return null; | ||||
} | } | ||||
final public function getSupportedMarkerTypes() { | |||||
return $this->newSupportedMarkerTypes(); | |||||
} | |||||
protected function newSupportedMarkerTypes() { | |||||
return array(); | |||||
} | |||||
final public function newMarkerRefQuery() { | |||||
return id($this->newMarkerRefQueryTemplate()) | |||||
->setRepositoryAPI($this); | |||||
} | |||||
protected function newMarkerRefQueryTemplate() { | |||||
throw new PhutilMethodNotImplementedException(); | |||||
} | |||||
} | } |