Skip to main content

Module diff

Module diff 

Source
Expand description

Diff computation and semantic summarization for code edits.

Uses the similar crate to compute line-level diffs, then applies heuristic rules to generate human-readable semantic summaries.

Structs§

DiffHunk
A contiguous region of changes.
DiffSummary
Summary of a diff between old and new content.

Enums§

ChangeType
The kind of change detected.

Functions§

compute_diff
Compute a line-level diff between old and new content.
generate_semantic_summary
Generate a heuristic-based human-readable summary of the diff.