Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistRepositoryAPI.php
| Show First 20 Lines • Show All 337 Lines • ▼ Show 20 Lines | /* -( Path Status )-------------------------------------------------------- */ | ||||
| abstract public function getWorkingCopyRevision(); | abstract public function getWorkingCopyRevision(); | ||||
| abstract public function updateWorkingCopy(); | abstract public function updateWorkingCopy(); | ||||
| abstract public function getMetadataPath(); | abstract public function getMetadataPath(); | ||||
| abstract public function loadWorkingCopyDifferentialRevisions( | abstract public function loadWorkingCopyDifferentialRevisions( | ||||
| ConduitClient $conduit, | ConduitClient $conduit, | ||||
| array $query); | array $query); | ||||
| abstract public function getRemoteURI(); | abstract public function getRemoteURI(); | ||||
| public function getUnderlyingWorkingCopyRevision() { | |||||
| return $this->getWorkingCopyRevision(); | |||||
| } | |||||
| public function getChangedFiles($since_commit) { | public function getChangedFiles($since_commit) { | ||||
| throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
| } | } | ||||
| public function getAuthor() { | public function getAuthor() { | ||||
| throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
| } | } | ||||
| public function addToCommit(array $paths) { | public function addToCommit(array $paths) { | ||||
| throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
| } | } | ||||
| abstract public function supportsLocalCommits(); | abstract public function supportsLocalCommits(); | ||||
| public function doCommit($message) { | public function doCommit($message) { | ||||
| throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
| } | } | ||||
| public function amendCommit($message = null) { | public function amendCommit($message = null) { | ||||
| throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
| } | } | ||||
| public function getAllBranches() { | public function getAllBranches() { | ||||
| // TODO: Implement for Mercurial/SVN and make abstract. | // TODO: Implement for Mercurial/SVN and make abstract. | ||||
Lint: TODO Comment: This comment has a TODO. | |||||
| return array(); | return array(); | ||||
| } | } | ||||
| public function getAllBranchRefs() { | public function getAllBranchRefs() { | ||||
| throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
| } | } | ||||
| public function getBaseCommitRef() { | |||||
| throw new ArcanistCapabilityNotSupportedException($this); | |||||
| } | |||||
| public function hasLocalCommit($commit) { | public function hasLocalCommit($commit) { | ||||
| throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
| } | } | ||||
| public function getCommitMessage($commit) { | public function getCommitMessage($commit) { | ||||
| throw new ArcanistCapabilityNotSupportedException($this); | throw new ArcanistCapabilityNotSupportedException($this); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 294 Lines • Show Last 20 Lines | |||||
This comment has a TODO.