Expand description
For using text diffs, please have a look at the imara-diff documentation,
maintained by Pascal Kuthe.
Modules§
Structs§
- Unified
Diff Builder - A
Sinkthat creates a textual diff in the format typically output by git or gnu-diff if the-uoption is used
Enums§
- Algorithm
imara-diffsupports multiple different algorithms for computing an edit sequence. These algorithms have different performance and all produce different output.
Traits§
Functions§
- diff
- Computes an edit-script that transforms
input.beforeintoinput.afterusing the specifiedalgorithmThe edit-script is passed tosink.process_changewhile it is produced. - diff_
with_ tokens - Computes an edit-script that transforms
beforeintoafterusing the specifiedalgorithmThe edit-script is passed tosink.process_changewhile it is produced.