pub fn diff<S, T>(
algorithm: Algorithm,
input: &InternedInput<T>,
sink: S,
) -> <S as Sink>::Outwhere
S: Sink,Available on crate feature
blob only.Expand description
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.