MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / GetConfigFile

Function GetConfigFile

src/commons/util/util.cpp:660–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658}
659
660fs::path GetConfigFile() {
661 fs::path pathConfigFile(
662 CBaseParams::GetArg("-conf", IniCfg().GetCoinName() + ".conf"));
663
664 if (!pathConfigFile.is_complete())
665 pathConfigFile = GetDataDir(false) / pathConfigFile;
666
667 return pathConfigFile;
668}
669
670fs::path GetAbsolutePath(const string& path) {
671 boost::system::error_code ec;

Callers 4

getinfoFunction · 0.85
InitRPCAuthenticationFunction · 0.85
CallRPCFunction · 0.85
ReadConfigFileFunction · 0.85

Calls 1

GetCoinNameMethod · 0.80

Tested by

no test coverage detected