Skip to main content

Crate rootle_diff

Crate rootle_diff 

Source
Expand description

Typed unified diffs. Parsing validates hunk extents; malformed or incomplete patches are errors rather than plausible-looking source.

Structs§

ChangedSpan
Character-boundary-safe byte offsets into one specific diff line.
DiffLine
FileDiff
Hunk
HunkRange
A side of a hunk. An empty range may start at zero; nonempty ranges are checked to fit positive u32 source line numbers by the parser.
LineNumber
One-based source line. Missing sides are None, never line zero.
PatchError

Enums§

LineOrigin
PatchErrorKind