Module diff_presentation

Module diff_presentation 

Source
Expand description

Utilities to present file diffs to the user

Modules§

unified
Utilities to compute unified (Git-style) diffs of 2 sides

Structs§

FileContent

Enums§

DiffTokenType
LineCompareMode

Functions§

diff_by_line
file_content_for_diff
unzip_diff_hunks_to_lines
Splits [left, right] hunk pairs into [left_lines, right_lines].