pub fn diff_with_tokens<S>(
algorithm: Algorithm,
before: &[Token],
after: &[Token],
num_tokens: u32,
sink: S,
) -> <S as Sink>::Outwhere
S: Sink,
Available on crate feature
blob
only.Expand description
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.