Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistWorkflow.php
| Show First 20 Lines • Show All 2,244 Lines • ▼ Show 20 Lines | final public function setConduitEngine( | ||||
| $this->conduitEngine = $conduit_engine; | $this->conduitEngine = $conduit_engine; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| final public function getConduitEngine() { | final public function getConduitEngine() { | ||||
| return $this->conduitEngine; | return $this->conduitEngine; | ||||
| } | } | ||||
| final protected function newWorkingCopyStateRef() { | |||||
| $ref = new ArcanistWorkingCopyStateRef(); | |||||
| $working_copy = $this->getWorkingCopyIdentity(); | |||||
| $ref->setRootDirectory($working_copy->getProjectRoot()); | |||||
| return $ref; | |||||
| } | |||||
| final protected function newRefQuery(array $refs) { | final protected function newRefQuery(array $refs) { | ||||
| assert_instances_of($refs, 'ArcanistRef'); | assert_instances_of($refs, 'ArcanistRef'); | ||||
| $query = id(new ArcanistRefQuery()) | $query = id(new ArcanistRefQuery()) | ||||
| ->setConduitEngine($this->getConduitEngine()) | ->setConduitEngine($this->getConduitEngine()) | ||||
| ->setRefs($refs); | ->setRefs($refs); | ||||
| if ($this->hasRepositoryAPI()) { | if ($this->hasRepositoryAPI()) { | ||||
| ▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines | |||||