Crate diffs

source ·
Expand description

Various diff (longest common subsequence) algorithms, used in practice:

Modules

  • Binary diff algorithm
  • Myers’ diff algorithm
  • Patience diff algorithm

Structs

  • A “differ” that combines deletions and insertions to give blocks of maximal length, and replacements when appropriate.

Traits

  • A trait for reacting to an edit script from the “old” version to the “new” version.