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

Function CheckDataDirOption

src/util/system.cpp:864–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862}
863
864bool CheckDataDirOption()
865{
866 const fs::path datadir{gArgs.GetPathArg("-datadir")};
867 return datadir.empty() || fs::is_directory(fs::absolute(datadir));
868}
869
870fs::path GetConfigFile(const std::string& confPath)
871{

Callers 5

AppInitRPCFunction · 0.85
AppInitFunction · 0.85
WalletAppInitFunction · 0.85
GuiMainFunction · 0.85
ReadConfigFilesMethod · 0.85

Calls 3

absoluteFunction · 0.85
GetPathArgMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected