Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialDiff.php
| Show First 20 Lines • Show All 379 Lines • ▼ Show 20 Lines | public function loadCoverageMap(PhabricatorUser $viewer) { | ||||
| foreach ($map as $path => $coverage_items) { | foreach ($map as $path => $coverage_items) { | ||||
| $map[$path] = ArcanistUnitTestResult::mergeCoverage($coverage_items); | $map[$path] = ArcanistUnitTestResult::mergeCoverage($coverage_items); | ||||
| } | } | ||||
| return $map; | return $map; | ||||
| } | } | ||||
| public function getURI() { | |||||
| $id = $this->getID(); | |||||
| return "/differential/diff/{$id}/"; | |||||
| } | |||||
| /* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
| public function getCapabilities() { | public function getCapabilities() { | ||||
| return array( | return array( | ||||
| PhabricatorPolicyCapability::CAN_VIEW, | PhabricatorPolicyCapability::CAN_VIEW, | ||||
| ); | ); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 187 Lines • Show Last 20 Lines | |||||