MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / SoftSetArg

Method SoftSetArg

src/common/args.cpp:547–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547bool ArgsManager::SoftSetArg(const std::string &strArg,
548 const std::string &strValue) {
549 LOCK(cs_args);
550 if (IsArgSet(strArg)) {
551 return false;
552 }
553 ForceSetArg(strArg, strValue);
554 return true;
555}
556
557bool ArgsManager::SoftSetBoolArg(const std::string &strArg, bool fValue) {
558 if (fValue) {

Callers 7

BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80
InitMethod · 0.80
SetPruneEnabledMethod · 0.80
showIfNeededMethod · 0.80

Calls

no outgoing calls

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64