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.
Print a hunk list, usually from diff
or refine
Output a hunk list, usually from diff
or refine
, to a string
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
Runs the equivalent of the command line version of patdiff on two given contents
from_
and to_
.