Changeset View
Changeset View
Standalone View
Standalone View
src/difference/ArcanistDiffUtils.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Dumping ground for diff- and diff-algorithm-related miscellany. | * Dumping ground for diff- and diff-algorithm-related miscellany. | ||||
| * | |||||
| * @group diff | |||||
| */ | */ | ||||
| final class ArcanistDiffUtils { | final class ArcanistDiffUtils { | ||||
| /** | /** | ||||
| * Make a best-effort attempt to determine if a file is definitely binary. | * Make a best-effort attempt to determine if a file is definitely binary. | ||||
| * | * | ||||
| * @return bool If true, the file is almost certainly binary. If false, the | * @return bool If true, the file is almost certainly binary. If false, the | ||||
| * file might still be binary but is subtle about it. | * file might still be binary but is subtle about it. | ||||
| ▲ Show 20 Lines • Show All 242 Lines • Show Last 20 Lines | |||||