MCPcopy Create free account
hub / github.com/apple/foundationdb / open

Method open

fdbserver/OnDemandStore.actor.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void OnDemandStore::open() {
31 platform::createDirectory(folder);
32 store = keyValueStoreMemory(joinPath(folder, prefix), myID, 500e6);
33 err.send(store->getError());
34}
35
36OnDemandStore::OnDemandStore(std::string const& folder, UID myID, std::string const& prefix)
37 : folder(folder), myID(myID), store(nullptr), prefix(prefix) {}

Callers

nothing calls this directly

Calls 5

createDirectoryFunction · 0.85
keyValueStoreMemoryFunction · 0.85
joinPathFunction · 0.50
sendMethod · 0.45
getErrorMethod · 0.45

Tested by

no test coverage detected