MCPcopy Create free account
hub / github.com/ElementsProject/elements / SetComparatorName

Method SetComparatorName

src/leveldb/db/version_edit.h:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 void Clear();
35
36 void SetComparatorName(const Slice& name) {
37 has_comparator_ = true;
38 comparator_ = name.ToString();
39 }
40 void SetLogNumber(uint64_t num) {
41 has_log_number_ = true;
42 log_number_ = num;

Callers 4

NewDBMethod · 0.80
WriteDescriptorMethod · 0.80
TESTFunction · 0.80
WriteSnapshotMethod · 0.80

Calls 1

ToStringMethod · 0.45

Tested by 1

TESTFunction · 0.64