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

Method remove

src/include/transaction/transaction.h:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 bool put(std::unique_ptr<LocalCacheObject> object);
66
67 void remove(const std::string& key) {
68 std::unique_lock lck{mtx};
69 cachedObjects.erase(key);
70 }
71
72private:
73 std::unordered_map<std::string, std::unique_ptr<LocalCacheObject>> cachedObjects;

Callers 5

deleteIfExistsFunction · 0.80
resolve_export_dirFunction · 0.80
lbug_migrationFunction · 0.80
rename_databasesFunction · 0.80
package_tar.pyFile · 0.80

Calls 1

eraseMethod · 0.80

Tested by 1

deleteIfExistsFunction · 0.64