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

Function IsDefault

libi2pd/Config.cpp:498–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496 }
497
498 bool IsDefault(const char *name)
499 {
500 if (!m_Options.count(name))
501 throw "try to check non-existent option";
502
503 if (m_Options[name].defaulted())
504 return true;
505 return false;
506 }
507
508 bool GetOptionAsAny(const char *name, boost::any& value)
509 {

Callers 5

initMethod · 0.85
InitAddressFromIfaceFunction · 0.85
InitTransportsFunction · 0.85
NewRouterInfoMethod · 0.85
SetSupportsV6Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected