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

Function WriteText

src/test/settings_tests.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45inline void WriteText(const fs::path& path, const std::string& text)
46{
47 std::ofstream file;
48 file.open(path.std_path());
49 file << text;
50}
51
52BOOST_FIXTURE_TEST_SUITE(settings_tests, BasicTestingSetup)
53

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

openMethod · 0.45

Tested by

no test coverage detected