MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / SetProperty

Method SetProperty

libi2pd/RouterInfo.cpp:1491–1496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1489 }
1490
1491 void LocalRouterInfo::SetProperty (std::string_view key, std::string_view value)
1492 {
1493 auto [it, inserted] = m_Properties.emplace (key, value);
1494 if (!inserted)
1495 it->second = value;
1496 }
1497
1498 void LocalRouterInfo::DeleteProperty (const std::string& key)
1499 {

Callers 4

NewRouterInfoMethod · 0.80
SetFamilyMethod · 0.80
UpdateStatsMethod · 0.80
LoadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected