Diviner

Class ArcanistDiffUtils

Definedsrc/difference/ArcanistDiffUtils.php:8
GroupDiff and Changeset APIs

Dumping ground for diff- and diff-algorithm-related miscellany.

Tasks

Unspecified

Methods

public static applyIntralineDiff($str, $intra_stack)

parameterswild$str
wild$intra_stack
returnwild
This method is not documented.

public static buildLevenshteinDifferenceString($o, $n)

parameterswild$o
wild$n
returnwild
This method is not documented.

private static collapseIntralineRuns($runs)

parameterswild$runs
returnwild
This method is not documented.

public static generateIntralineDiff($o, $n)

parameterswild$o
wild$n
returnwild
This method is not documented.

public static generateUTF8IntralineDiff($o, $n)

parameterswild$o
wild$n
returnwild
This method is not documented.

public static bool isHeuristicBinaryFile($data)

parameterswild$data
returnboolIf true, the file is almost certainly binary. If false, the file might still be binary but is subtle about it.

Make a best-effort attempt to determine if a file is definitely binary.

public static renderDifferences($old, $new, $context_lines = 3, $diff_options = "-L 'Old Value' -L 'New Value'")

parameterswild$old
wild$new
wild$context_lines
wild$diff_options
returnwild
This method is not documented.