Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialDiff.php
Show All 36 Lines | final class DifferentialDiff | ||||
private $changesets = self::ATTACHABLE; | private $changesets = self::ATTACHABLE; | ||||
private $arcanistProject = self::ATTACHABLE; | private $arcanistProject = self::ATTACHABLE; | ||||
private $revision = self::ATTACHABLE; | private $revision = self::ATTACHABLE; | ||||
private $properties = array(); | private $properties = array(); | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'revisionID' => 'id?', | |||||
'authorPHID' => 'phid?', | |||||
'repositoryPHID' => 'phid?', | |||||
'sourceMachine' => 'text255?', | |||||
'sourcePath' => 'text255?', | |||||
'sourceControlSystem' => 'text64?', | |||||
'sourceControlBaseRevision' => 'text255?', | |||||
'sourceControlPath' => 'text255?', | |||||
'lintStatus' => 'uint32', | |||||
'unitStatus' => 'uint32', | |||||
'lineCount' => 'uint32', | |||||
'branch' => 'text255?', | |||||
'bookmark' => 'text255?', | |||||
'arcanistProjectPHID' => 'phid?', | |||||
'creationMethod' => 'text255', | |||||
'description' => 'text255', | |||||
'repositoryUUID' => 'text64?', | |||||
), | |||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'revisionID' => array( | |||||
'columns' => array('revisionID'), | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID( | ||||
DifferentialDiffPHIDType::TYPECONST); | DifferentialDiffPHIDType::TYPECONST); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 366 Lines • Show Last 20 Lines |