Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
NewDB
Method · 0.80
WriteDescriptor
Method · 0.80
TEST
Function · 0.80
WriteSnapshot
Method · 0.80
Calls
1
ToString
Method · 0.45
Tested by
1
TEST
Function · 0.64