MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsSwitchChar

Function IsSwitchChar

src/util/system.h:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129fs::path AbsPathForConfigVal(const fs::path& path, bool net_specific = true);
130
131inline bool IsSwitchChar(char c)
132{
133#ifdef WIN32
134 return c == '-' || c == '/';
135#else
136 return c == '-';
137#endif
138}
139
140enum class OptionsCategory {
141 OPTIONS,

Callers 4

CommandLineRawTxFunction · 0.85
CommandLineRPCFunction · 0.85
AppInitFunction · 0.85
FUZZ_TARGET_INITFunction · 0.85

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.68