MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / isInMemory

Method isInMemory

src/main/client_context.cpp:208–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208bool ClientContext::isInMemory() const {
209 if (remoteDatabase != nullptr) {
210 // If we are connected to a remote database, we assume it is not in memory.
211 return false;
212 }
213 return localDatabase->storageManager->isInMemory();
214}
215
216void ClientContext::addDBDirToFileSearchPath(const std::string& dbPath) {
217 // Skip remote paths (e.g. s3://, https://)

Callers 12

collectDiskSizeInfoFunction · 0.80
createNoIndexPKValidatorFunction · 0.80
executeInternalMethod · 0.80
canAutoCheckpointMethod · 0.80
NodeTableMethod · 0.80
loadMethod · 0.80
setContextMethod · 0.80
initMembersMethod · 0.80
shouldLogToWALMethod · 0.80
shouldForceCheckpointMethod · 0.80
checkpointMethod · 0.80
tryCheckpointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected