Module diff

Source

Structs§

CompareBytesExactly
Compares byte sequences literally.
CompareBytesIgnoreAllWhitespace
Compares byte sequences ignoring any whitespace occurrences.
CompareBytesIgnoreWhitespaceAmount
Compares byte sequences ignoring changes in whitespace amount.
Diff
Takes any number of inputs and finds regions that are them same between all of them.
DiffHunk
Hunk texts.
DiffHunkIterator
Iterator over matching and different texts.
DiffHunkRange
Hunk ranges in bytes.
DiffHunkRangeIterator
Iterator over matching and different ranges in bytes.

Enums§

DiffHunkKind

Traits§

CompareBytes
Compares byte sequences based on a certain equivalence property.

Functions§

diff
Diffs slices of bytes.
find_line_ranges
find_nonword_ranges
find_word_ranges

Type Aliases§

DiffHunkContentVec
DiffHunkRangeVec