MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SetDataDir

Method SetDataDir

src/test/test_bitcoin.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69fs::path BasicTestingSetup::SetDataDir(const std::string& name)
70{
71 fs::path ret = m_path_root / name;
72 fs::create_directories(ret);
73 gArgs.ForceSetArg("-datadir", ret.string());
74 return ret;
75}
76
77TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(chainName)
78{

Callers

nothing calls this directly

Calls 1

ForceSetArgMethod · 0.80

Tested by

no test coverage detected