Structs§
Enums§
Functions§
- compute_
line_ change_ counts - Compute addition/deletion counts between two text snapshots.
- concatenate_
diff_ hunks - Creates a full unified diff with the file path in the header,
- create_
unified_ diff - Creates a full unified diff with the file path in the header.
- create_
unified_ diff_ hunk - Converts a replace diff to a unified diff hunk without the hunk header. The hunk returned will have valid hunk, and diff lines.
- extract_
unified_ diff_ hunks - Extracts unified diff hunks from a string containing a full unified diff. Tolerates non-diff lines and missing `@@`` hunk headers.