Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistRepositoryAPI.php
Show First 20 Lines • Show All 728 Lines • ▼ Show 20 Lines | /* -( Base Commits )------------------------------------------------------- */ | ||||
final public function newCommitRef() { | final public function newCommitRef() { | ||||
return new ArcanistCommitRef(); | return new ArcanistCommitRef(); | ||||
} | } | ||||
final public function newBranchRef() { | final public function newBranchRef() { | ||||
return new ArcanistBranchRef(); | return new ArcanistBranchRef(); | ||||
} | } | ||||
final public function getLandEngine() { | |||||
$engine = $this->newLandEngine(); | |||||
if ($engine) { | |||||
$engine->setRepositoryAPI($this); | |||||
} | |||||
return $engine; | |||||
} | |||||
protected function newLandEngine() { | |||||
return null; | |||||
} | |||||
} | } |