patch_make

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.

  1. Patch[] patch_make(string text1, string text2)
  2. Patch[] patch_make(Diff[] diffs)
  3. Patch[] patch_make(string text1, Diff[] diffs)
    patch_make
    (
    string text1
    ,)

Meta