MCPcopy Create free account
hub / github.com/couchbase/fleece / patch_apply

Method patch_apply

Fleece/Support/diff_match_patch.hh:1979–1980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1977 */
1978 public:
1979 std::pair<string_t, std::vector<bool> > patch_apply(const Patches &patches, const string_t &text) const
1980 { std::pair<string_t, std::vector<bool> > res; patch_apply(patches, text, res); return res; }
1981 void patch_apply(const Patches &patches, const string_t &sourceText, std::pair<string_t, std::vector<bool> >& res) const {
1982 if (patches.empty()) {
1983 res.first = sourceText;

Callers 1

applyStringDeltaMethod · 0.80

Calls 7

lengthMethod · 0.80
emptyMethod · 0.45
clearMethod · 0.45
resizeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected