Expand description
Unified diff rendering with ANSI styling and bounded excerpts.
Structs§
- Diff
Chat Renderer - High-level renderer that wraps
DiffRendererwith bounded previews while retaining legacy suppression diagnostics for compatibility callers. - Diff
Line - A single line within a unified diff output.
- Diff
Renderer - Renders unified diffs with ANSI-colored output and optional line numbers.
- Diff
Renderer Options - Named options for
DiffRendererandDiffChatRenderer. - Diff
Stats - Counters for additions, deletions, and total changes in a diff.
- Diff
Suppression Check - Result of checking whether diffs should be suppressed
- File
Change Stats - Statistics for a single changed file.
- File
Diff - Aggregated diff result for a single file.
- Suppression
Result - Result of a suppression check.
Enums§
- Diff
Line Type - The kind of a single diff line.
Functions§
- generate_
unified_ diff - Generate a standard unified diff string between two file contents.