diff ~context ~compare ~keep_ws a b
Use Patience_diff to get a list of
hunks describing the comparison between a
and b
refine diff format
takes the Replace ranges from the hunk list, splits
them into smaller arrays, diffs those arrays, formats them according to
the provided format, and recomposes the Replace range of the original
hunk list.
Iter along the lines of the diff and the breaks between hunks. Offers more flexibility regarding what the caller wants to do with the lines