MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / remove

Method remove

MonaBase/sources/PersistentData.cpp:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool PersistentData::remove(Exception& ex, const string& path) {
54 if (_disableTransaction)
55 return true;
56 lock_guard<mutex> lock(_mutex);
57 if (!running() && !start(ex, Startable::PRIORITY_LOWEST))
58 return false;
59 _entries.emplace_back(_poolBuffers,path);
60 wakeUp();
61 return true;
62}
63
64
65void PersistentData::run(Exception& ex) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected