Changeset View
Changeset View
Standalone View
Standalone View
src/workingcopy/ArcanistWorkingCopyPath.php
Context not available. | |||||
$line_number = 0; | $line_number = 0; | ||||
$line_start = 0; | $line_start = 0; | ||||
foreach ($lines as $line) { | foreach ($lines as $line) { | ||||
$len = strlen($line); | $len = @strlen($line); | ||||
$line_map[] = $line_start; | $line_map[] = $line_start; | ||||
$line_start += $len; | $line_start += $len; | ||||
for ($ii = 0; $ii < $len; $ii++) { | for ($ii = 0; $ii < $len; $ii++) { | ||||
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