function
diff.parsePatch
patch: string
Parse a unified diff, as written by diff -u, git diff, git format-patch, svn diff or hg diff.
@returns
One entry for each file
Referenced types
interface FilePatch
What a patch changes in one file. A property is absent when the patch does not say.