Enums§
- Color
Mode - When colored unified-diff output should be emitted.
Functions§
- colorize_
unified_ diff - Apply ANSI styling to a unified-diff body (headers, hunks, adds, removals).
- print_
diff - Print a unified diff to stdout. No-op if texts are identical.
- unified_
diff - Produce a unified diff between original and formatted text using imara-diff’s histogram algorithm (same as git’s default).