Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepositoryCommit.php
Show First 20 Lines • Show All 710 Lines • ▼ Show 20 Lines | return array( | ||||
id(new PhabricatorConduitSearchFieldSpecification()) | id(new PhabricatorConduitSearchFieldSpecification()) | ||||
->setKey('identifier') | ->setKey('identifier') | ||||
->setType('string') | ->setType('string') | ||||
->setDescription(pht('The commit identifier.')), | ->setDescription(pht('The commit identifier.')), | ||||
); | ); | ||||
} | } | ||||
public function getFieldValuesForConduit() { | public function getFieldValuesForConduit() { | ||||
// NOTE: This data should be similar to the information returned about | |||||
// commmits by "differential.diff.search" with the "commits" attachment. | |||||
return array( | return array( | ||||
'identifier' => $this->getCommitIdentifier(), | 'identifier' => $this->getCommitIdentifier(), | ||||
); | ); | ||||
} | } | ||||
public function getConduitSearchAttachments() { | public function getConduitSearchAttachments() { | ||||
return array(); | return array(); | ||||
} | } | ||||
Show All 18 Lines |