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

Function DescriptorFileName

src/leveldb/db/filename.cc:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43std::string DescriptorFileName(const std::string& dbname, uint64_t number) {
44 assert(number > 0);
45 char buf[100];
46 snprintf(buf, sizeof(buf), "/MANIFEST-%06llu",
47 static_cast<unsigned long long>(number));
48 return dbname + buf;
49}
50
51std::string CurrentFileName(const std::string& dbname) {
52 return dbname + "/CURRENT";

Callers 5

NewDBMethod · 0.85
TESTFunction · 0.85
WriteDescriptorMethod · 0.85
SetCurrentFileFunction · 0.85
LogAndApplyMethod · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68