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

Function vfsAsyncIsOpen

fdbserver/VFSAsync.cpp:686–688  ·  view source on GitHub ↗

** Returns true if there is a shared memory entry for the specified filename, ** and false otherwise. */

Source from the content-addressed store, hash-verified

684** and false otherwise.
685*/
686bool vfsAsyncIsOpen(std::string filename) {
687 return SharedMemoryInfo::table.count(abspath(filename)) > 0;
688}
689
690/*
691** The following four VFS methods:

Callers 3

checkAllPageChecksumsMethod · 0.85
openMethod · 0.85
KeyValueStoreSQLiteMethod · 0.85

Calls 2

countMethod · 0.65
abspathFunction · 0.50

Tested by

no test coverage detected