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); | ||||
} | } | ||||
Show All 11 Lines | 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. | ||||
return array(); | return array(); | ||||
} | } | ||||
public function getAllBranchRefs() { | |||||
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 277 Lines • ▼ Show 20 Lines | public function resolveBaseCommit() { | ||||
return $commit; | return $commit; | ||||
} | } | ||||
public function getRepositoryUUID() { | public function getRepositoryUUID() { | ||||
return null; | return null; | ||||
} | } | ||||
final public function newCommitRef() { | |||||
return new ArcanistCommitRef(); | |||||
} | |||||
final public function newBranchRef() { | |||||
return new ArcanistBranchRef(); | |||||
} | |||||
} | } |