Changeset View
Changeset View
Standalone View
Standalone View
src/repository/graph/ArcanistCommitNode.php
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | final class ArcanistCommitNode | ||||
} | } | ||||
public function getCommitMessage() { | public function getCommitMessage() { | ||||
return $this->commitMessage; | return $this->commitMessage; | ||||
} | } | ||||
public function getCommitRef() { | public function getCommitRef() { | ||||
if ($this->commitRef === null) { | if ($this->commitRef === null) { | ||||
$this->commitRef = id(new ArcanistCommitRef()) | $this->commitRef = (new ArcanistCommitRef()) | ||||
->setCommitHash($this->getCommitHash()) | ->setCommitHash($this->getCommitHash()) | ||||
->attachMessage($this->getCommitMessage()); | ->attachMessage($this->getCommitMessage()); | ||||
} | } | ||||
return $this->commitRef; | return $this->commitRef; | ||||
} | } | ||||
public function setCommitEpoch($commit_epoch) { | public function setCommitEpoch($commit_epoch) { | ||||
Show All 9 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0