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

Function TempFileName

src/leveldb/db/filename.cc:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55std::string LockFileName(const std::string& dbname) { return dbname + "/LOCK"; }
56
57std::string TempFileName(const std::string& dbname, uint64_t number) {
58 assert(number > 0);
59 return MakeFileName(dbname, number, "dbtmp");
60}
61
62std::string InfoLogFileName(const std::string& dbname) {
63 return dbname + "/LOG";

Callers 3

TESTFunction · 0.85
WriteDescriptorMethod · 0.85
SetCurrentFileFunction · 0.85

Calls 1

MakeFileNameFunction · 0.85

Tested by 1

TESTFunction · 0.68