MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / SettingName

Function SettingName

src/common/args.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64static std::string SettingName(const std::string& arg)
65{
66 return arg.size() > 0 && arg[0] == '-' ? arg.substr(1) : arg;
67}
68
69/**
70 * Parse "name", "section.name", "noname", "section.noname" settings keys.

Callers 6

SoftSetArgMethod · 0.70
ForceSetArgMethod · 0.70
GetChainArgMethod · 0.70
GetSetting_Method · 0.70
GetSettingsListMethod · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected