Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Row ¶
Row represents a single visual row for side-by-side rendering.
func BuildRowsFromUnified ¶
BuildRowsFromUnified parses a unified diff string into side-by-side rows. It uses a simple pairing strategy within each hunk: deletions are paired with subsequent additions as replacements; any remaining lines are shown as left-only (deletions) or right-only (additions).
Click to show internal directories.
Click to hide internal directories.