MCPcopy Create free account
hub / github.com/apple/foundationdb / MutationBlock

Class MutationBlock

fdbclient/NativeAPI.actor.cpp:5851–5860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5849}
5850
5851class MutationBlock {
5852public:
5853 bool mutated;
5854 bool cleared;
5855 ValueRef setValue;
5856
5857 MutationBlock() : mutated(false) {}
5858 MutationBlock(bool _cleared) : mutated(true), cleared(_cleared) {}
5859 MutationBlock(ValueRef value) : mutated(true), cleared(false), setValue(value) {}
5860};
5861
5862bool compareBegin(KeyRangeRef lhs, KeyRangeRef rhs) {
5863 return lhs.begin < rhs.begin;

Callers 1

checkWritesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected