Skip to main content

Module combined_diff_patch

Module combined_diff_patch 

Source
Expand description

combined_diff_patch API (re-exported at this path).

Structs§

CombinedDiffWsOptions
Whitespace handling for combined diffs (Git xdl_opts subset).
CombinedStructuredHunk
A combined hunk (@@@ header and body lines).
CombinedStructuredLine
One line in a combined (--cc) hunk: parent-column markers plus text.
CombinedStructuredTextDiff
Structured combined diff body (no diff --cc file header).

Enums§

CombinedStructuredLineKind
Line role in a combined (--cc) hunk (derived from parent-column markers).

Functions§

format_combined_diff_body
Combined diff body: @@@ hunks and parent/result lines (no diff --cc header).
format_combined_structured_body
Serialize CombinedStructuredTextDiff to Git combined patch body text.
structured_combined_diff_body
Structured combined diff body: @@@ hunks with per-parent columns on each line.