sebastianbergmann / diff

Diff implementation
BSD 3-Clause "New" or "Revised" License
7.58k stars 85 forks source link

Parse diff string #23

Closed jbrooksuk closed 7 years ago

jbrooksuk commented 10 years ago

Is it possible to parse a diff string using this library? My use-case is for Anorak which receives a diff for a commit and I only want to get the additions.

sebastianbergmann commented 7 years ago

Yes. This is documented here.