|
Gin
|
A compact text patch storing only the differences between two texts. More...
#include <gin_diff.h>
Classes | |
| struct | Hunk |
Public Member Functions | |
| juce::String | toString () const |
| Serializes the patch to a human-readable string. | |
Static Public Member Functions | |
| static Patch | fromString (const juce::String &s) |
| Parses a patch from its string representation. | |
Public Attributes | |
| std::vector< Hunk > | hunks |
A compact text patch storing only the differences between two texts.
This stores only inserted and removed lines with their line numbers, making it memory efficient while remaining human readable.
| juce::String Diff::Patch::toString | ( | ) | const |
Serializes the patch to a human-readable string.
Parses a patch from its string representation.
| std::vector<Hunk> Diff::Patch::hunks |