Skip to content

Commit

Permalink
Describe how difftastic works in FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Mar 7, 2024
1 parent 2b19e59 commit e208720
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,16 @@ $ difft --check-only --exit-code before.js after.js
This will set the exit code to 0 if there are no syntactic changes, or
1 if there are changes found.

### How Does It Work?

Difftastic treats structural diffing as a graph problem, and uses
Dijkstra's algorithm.

My [blog
post](https://www.wilfred.me.uk/blog/2022/09/06/difftastic-the-fantastic-diff/)
describes the design, and there is also an [internals section in the
manual](https://difftastic.wilfred.me.uk/diffing.html).

## Translation

+ [Chinese](./translation/zh-CN/README-zh-CN.md)
Expand Down

0 comments on commit e208720

Please sign in to comment.