patch_diffs method

List<Patch> patch_diffs(
  1. List<Diff> diffs
)

Compute a list of patches to turn text1 into text2.

Implementation

List<Patch> patch_diffs(List<Diff> diffs) {
  // Method 2: diffs
  // Compute text1 from diffs.
  return patch_make(diff_text1(diffs), diffs);
}