Std.Diff
7 public declarations
- DiffHunk
Grouped unified diff hunk.
- diffLines
Str -> Str -> Array[Std.Diff.DiffOp[Str]]Computes the minimal edit script transforming lines of oldText to newText.
- DiffOp
Elementary edit script operation.
- diffTokens
Array[Str] -> Array[Str] -> Array[Std.Diff.DiffOp[Str]]Computes the minimal edit script across token sequences with Myers' greedy
- levenshtein
Str -> Str -> IntComputes the minimum number of edits to transform s1 into s2.
- similarity
Str -> Str -> Float64Normalized similarity score from 0.0 (disjoint) to 1.0 (identical).
- unifiedDiff
Str -> Str -> Str -> Str -> Int -> StrFormats sequence differences in standard Unified Diff format.
