difft

Module diff

Source

ModulesΒ§

  • changes πŸ”’
    Data types that track the change state for syntax nodes.
  • dijkstra πŸ”’
    Implements Dijkstra’s algorithm for shortest path, to find an optimal and readable diff between two ASTs.
  • graph πŸ”’
    A graph representation for computing tree diffs.
  • lcs_diff πŸ”’
    A fast diff for linear content, particularly lines of text.
  • sliders πŸ”’
    Prefer contiguous novel nodes on the same line.
  • stack πŸ”’
  • unchanged πŸ”’
    Find nodes that are obviously unchanged, so we can run the main diff on smaller inputs.