|
Gin
|
Classes | |
| struct | Diff::Patch |
| A compact text patch storing only the differences between two texts. More... | |
| struct | Diff::Patch::Hunk |
Namespaces | |
| namespace | Diff |
| Binary diff/patch utilities using the bsdiff algorithm. | |
Functions | |
| std::vector< uint8_t > | Diff::bsDiff (const juce::String &s1, const juce::String &s2) |
| Creates a binary patch that transforms s1 into s2. | |
| juce::String | Diff::bsApplyPatch (const juce::String &s, const std::vector< uint8_t > &patch) |
| Applies a binary patch to a string. | |
| Patch | Diff::createPatch (const juce::String &oldText, const juce::String &newText) |
| Creates a compact patch that can transform newText back into oldText. | |
| juce::String | Diff::applyPatch (const juce::String &newText, const Patch &patch) |
| Applies a patch to transform text back to its original form. | |