Structs§
- File
Diff - Whitespace
Report - Classification of a changeset by whitespace footprint.
Functions§
- classify_
diff_ whitespace - Classify a unified diff by whitespace footprint.
- parse_
diff - Parse a git diff into individual file diffs
- reconstruct_
diff - Reconstruct a diff from
FileDiffobjects - smart_
truncate_ diff - Smart truncation of git diff with token-aware budgeting
- strip_
whitespace_ only_ files - Drop whitespace-only file sections from a diff, returning the trimmed diff.
- truncate_
diff_ by_ lines - Truncate a diff to fit within a line budget, distributing lines across files by priority.