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

Method strOperation

Fleece/Support/diff_match_patch.hh:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 bool operator!=(const Diff &d) const { return !(operator == (d)); }
145
146 static string_t strOperation(Operation op) {
147 switch (op) {
148 case INSERT:
149 return traits::cs(L"INSERT");
150 case DELETE:
151 return traits::cs(L"DELETE");
152 case EQUAL:
153 return traits::cs(L"EQUAL");
154 }
155 throw string_t(traits::cs(L"Invalid operation."));
156 }
157 };
158
159 typedef std::list<Diff> Diffs;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected