Module blob

Source
Expand description

For using text diffs, please have a look at the imara-diff documentation, maintained by Pascal Kuthe.

Modules§

intern
sink
sources

Structs§

UnifiedDiffBuilder
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§

Sink
Trait for processing the edit-scripts computed with diff

Functions§

diff
Computes an edit-script that transforms input.before into input.after using the specified algorithm The edit-script is passed to sink.process_change while it is produced.
diff_with_tokens
Computes an edit-script that transforms before into after using the specified algorithm The edit-script is passed to sink.process_change while it is produced.