MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / getTempFolder

Method getTempFolder

src/storage/rocksdbfactory.cpp:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145std::string RocksDBStorageFactory::getTempFolder()
146{
147 auto path = m_path + "/keydb_tmp/";
148 if (!m_fCreatedTempFolder) {
149 if (!mkdir(path.c_str(), 0700))
150 m_fCreatedTempFolder = true;
151 }
152 return path;
153}
154
155IStorage *RocksDBStorageFactory::createMetadataDb()
156{

Callers 1

bulkInsertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected