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

Method SetValue

libs/platform/string_storage_base.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void StringStorageBase::SetValue(std::string_view key, std::string && value)
95{
96 std::lock_guard guard(m_mutex);
97
98 base::EmplaceOrAssign(m_values, key, std::move(value));
99
100 Save();
101}
102
103void StringStorageBase::Update(std::map<std::string, std::string> const & values)
104{

Callers 3

UsageStatsMethod · 0.80
EnterBackgroundMethod · 0.80
SetFunction · 0.80

Calls 2

EmplaceOrAssignFunction · 0.85
SaveFunction · 0.50

Tested by

no test coverage detected