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

Method FindLocalDestination

libi2pd_client/ClientContext.cpp:447–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445 }
446
447 std::shared_ptr<ClientDestination> ClientContext::FindLocalDestination (const i2p::data::IdentHash& destination) const
448 {
449 auto it = m_Destinations.find (destination);
450 if (it != m_Destinations.end ())
451 return it->second;
452 return nullptr;
453 }
454
455 template<typename Section, typename Type>
456 std::string ClientContext::GetI2CPOption (const Section& section, const std::string& name, const Type& value) const

Callers 3

LoadLocalMethod · 0.80
ShowLocalDestinationFunction · 0.80
HandleCommandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected