1 RCS
Class Ax.rcs.RCS
Utils for diffing and patching strings.
Constructor Summary
Method Summary
Constructor Detail
Ax.rcs.RCS.JSRCS
-
Ax.rcs.RCS.JSRCS()
Method Detail
Ax.rcs.RCS.diff
-
object Ax.rcs.RCS.diff( string s1, string s2 )
- Info:
-
compute the difference between an original and a revision. - Parameters:
- s1 - the original
- s2 - the revision to compare with the original.
- Returns:
- object
Ax.rcs.RCS.patch
-
string Ax.rcs.RCS.patch( string original, string rcs_changes )
- Info:
-
Constructs a revision from a RCS string - Parameters:
- original - the text to patch, which the method doesn't change.
- rcs_changes - The string containing the changes in RCS format
- Returns:
- string