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

Method removeFileIfExists

test/transaction/wal_test.cpp:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void removeFileIfExists(const std::string& path,
73 const lbug::main::ClientContext* /*context*/ = nullptr) override {
74 std::unique_lock lck{mtx};
75 files.erase(path);
76 }
77
78 bool fileOrPathExists(const std::string& path,
79 lbug::main::ClientContext* /*context*/ = nullptr) override {

Callers 1

TESTFunction · 0.45

Calls 1

eraseMethod · 0.80

Tested by

no test coverage detected