Changeset View
Changeset View
Standalone View
Standalone View
src/configuration/ArcanistConfiguration.php
Context not available. | |||||
private function expandCommandPrefix($command, array $options) { | private function expandCommandPrefix($command, array $options) { | ||||
$is_prefix = array(); | $is_prefix = array(); | ||||
foreach ($options as $option) { | foreach ($options as $option) { | ||||
if (strncmp($option, $command, strlen($command)) == 0) { | if (strncmp($option, $command, @strlen($command)) == 0) { | ||||
$is_prefix[$option] = true; | $is_prefix[$option] = true; | ||||
} | } | ||||
} | } | ||||
Context not available. |
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