Compute a list of patches to turn text1 into text2. text2 is not provided, diffs are the delta between text1 and text2. @param text1 Old text. @param diffs Array of Diff objects for text1 to text2. @return List of Patch objects.
See Implementation
Compute a list of patches to turn text1 into text2. text2 is not provided, diffs are the delta between text1 and text2. @param text1 Old text. @param diffs Array of Diff objects for text1 to text2. @return List of Patch objects.