DefinitelyTyped/diff
ScottSWu 2fb8651931 Add additional patch methods in jsdiff
* Add `IUniDiff` struct, representing a unified diff
* Add `IHunk` struct, representing a section of modified lines and context
* Fix `createPatch` optional `options` argument
* Fix `applyPatch` to accept either a patch string, IUniDiff or IUniDiff array
* Add `createTwoFilesPatch`, `structuredPatch` and `applyPatches`
* Add test code for these new functions
2016-08-09 16:21:39 -07:00
..
diff-tests.ts Add additional patch methods in jsdiff 2016-08-09 16:21:39 -07:00
diff.d.ts Add additional patch methods in jsdiff 2016-08-09 16:21:39 -07:00