Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistWorkflow.php
| Show First 20 Lines • Show All 1,698 Lines • ▼ Show 20 Lines | /* -( Phabricator Repositories )------------------------------------------- */ | ||||
| * @task phabrep | * @task phabrep | ||||
| */ | */ | ||||
| final protected function getRepositoryURI() { | final protected function getRepositoryURI() { | ||||
| return idx($this->getRepositoryInformation(), 'uri'); | return idx($this->getRepositoryInformation(), 'uri'); | ||||
| } | } | ||||
| /** | /** | ||||
| * Get the staging information of the Phabricator repository this | |||||
| * working copy corresponds to. | |||||
| * | |||||
| * @return array|null Repository staging information, if present. | |||||
| * | |||||
| * @task phabrep | |||||
| */ | |||||
| final protected function getRepositoryStaging() { | |||||
| return idx($this->getRepositoryInformation(), 'staging'); | |||||
| } | |||||
| /** | |||||
| * Get human-readable reasoning explaining how `arc` evaluated which | * Get human-readable reasoning explaining how `arc` evaluated which | ||||
| * Phabricator repository corresponds to this working copy. Used by | * Phabricator repository corresponds to this working copy. Used by | ||||
| * `arc which` to explain the process to users. | * `arc which` to explain the process to users. | ||||
| * | * | ||||
| * @return list<string> Human-readable explanation of the repository | * @return list<string> Human-readable explanation of the repository | ||||
| * association process. | * association process. | ||||
| * | * | ||||
| * @task phabrep | * @task phabrep | ||||
| ▲ Show 20 Lines • Show All 283 Lines • Show Last 20 Lines | |||||