MCPcopy Create free account
hub / github.com/comaps/comaps / Clear

Method Clear

libs/platform/string_storage_base.cpp:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void StringStorageBase::Clear()
76{
77 std::lock_guard guard(m_mutex);
78 m_values.clear();
79 Save();
80}
81
82bool StringStorageBase::GetValue(std::string_view key, std::string & outValue) const
83{

Callers 1

ClearFunction · 0.45

Calls 2

SaveFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected