Changeset View
Changeset View
Standalone View
Standalone View
src/repository/graph/ArcanistCommitGraphSetQuery.php
Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Lines | foreach ($color as $hash => $node_color) { | ||||
} | } | ||||
$seen[$nearby_hash] = true; | $seen[$nearby_hash] = true; | ||||
$in_set[$nearby_hash] = true; | $in_set[$nearby_hash] = true; | ||||
$stack[] = $nearby_node; | $stack[] = $nearby_node; | ||||
} | } | ||||
} | } | ||||
$set = id(new ArcanistCommitGraphSet()) | $set = (new ArcanistCommitGraphSet()) | ||||
->setSetID($set_n++) | ->setSetID($set_n++) | ||||
->setColor($node_color) | ->setColor($node_color) | ||||
->setHashes(array_keys($in_set)); | ->setHashes(array_keys($in_set)); | ||||
$sets[] = $set; | $sets[] = $set; | ||||
} | } | ||||
$set_map = array(); | $set_map = array(); | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 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