Skip to main content

Module diff

Module diff 

Source
Expand description

Compatibility re-exports for the extracted vtcode-diff crate.

New internal consumers should depend on vtcode-diff directly. These exports remain for one release so downstream callers can migrate.

Structs§

DiffBundle
A diff rendered with both structured hunks and formatted text.
DiffDocument
A complete renderer-independent diff.
DiffHunk
A diff hunk with old/new ranges and semantic lines.
DiffLine
A source line and its old/new positions.
DiffOptions
Options retained for the legacy vtcode_commons::diff API.
DiffStats
Aggregate statistics for a complete document.
ParseDiffError
Error returned for malformed unified diff input.

Enums§

Chunk
A contiguous borrowed character-level diff chunk.
DiffAlgorithm
Algorithms suitable for interactive diff previews.
DiffLineKind
The semantic role of a line inside a hunk.

Functions§

compute_diff
Compute a diff through the extracted implementation while preserving the legacy options type.
compute_diff_chunks
Computes a character-level diff with adjacent chunks coalesced.