Changeset View
Changeset View
Standalone View
Standalone View
scripts/symbols/clear_repository_symbols.php
Context not available. | |||||
$input = file_get_contents('php://stdin'); | $input = file_get_contents('php://stdin'); | ||||
$normalized = array(); | $normalized = array(); | ||||
foreach (explode("\n", trim($input)) as $path) { | foreach (@explode("\n", trim($input)) as $path) { | ||||
// Emulate the behavior of the symbol generation scripts. | // Emulate the behavior of the symbol generation scripts. | ||||
$normalized[] = '/'.ltrim($path, './'); | $normalized[] = '/'.ltrim($path, './'); | ||||
} | } | ||||
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