|
DiffMatchPatchPatchMake(String, ListDiff) Method
|
Compute a list of patches to turn text1 into text2.
text2 is not provided, diffs are the delta between text1 and text2.
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic List<Patch> PatchMake(
string text1,
List<Diff> diffs
)
Public Function PatchMake (
text1 As String,
diffs As List(Of Diff)
) As List(Of Patch)
public:
List<Patch^>^ PatchMake(
String^ text1,
List<Diff^>^ diffs
)
member PatchMake :
text1 : string *
diffs : List<Diff> -> List<Patch>
function PatchMake(text1, diffs);
View SourceParameters
- text1 String
- Old text
- diffs ListDiff
- Array of Diff objects for text1 to text2
Return Value
ListPatchList of Patch objects
See Also