unidiff
Read unified text diffs and report their changed files and lines.
matiasb · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Python virtual environment, install unidiff==1.0.1. Parse a fictional one-line edit and check how many lines were added and removed.
What we tested
1.0.1. Parse a fictional one-line edit and check how many lines were added and removed. Detected one changed file with one added line and one removed line.