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
Sink
that creates a textual diff in the format typically output by git or gnu-diff if the-u
option is used
Enums§
- Algorithm
imara-diff
supports 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.before
intoinput.after
using the specifiedalgorithm
The edit-script is passed tosink.process_change
while it is produced. - diff_
with_ tokens - Computes an edit-script that transforms
before
intoafter
using the specifiedalgorithm
The edit-script is passed tosink.process_change
while it is produced.