Functions | |
| def | diff3 (yourtext, origtext, theirtext) |
| def | merge (yourtext, origtext, theirtext) |
Variables | |
| def | diff = _diff_heckel |
| def basis.diff3.diff3 | ( | yourtext, | |
| origtext, | |||
| theirtext | |||
| ) |
Three-way diff based on the GNU diff3.c by R. Smith.
@param [in] yourtext Array of lines of your text.
@param [in] origtext Array of lines of original text.
@param [in] theirtext Array of lines of their text.
@returns Array of tuples containing diff results. The tuples consist of
(cmd, loA, hiA, loB, hiB), where cmd is either one of
'0', '1', '2', or 'A'.