MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / CreateEmptyFile

Function CreateEmptyFile

TestHelper/Tools.cpp:53–57  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

51
52 //-------------------------------------------------------------------------
53 void CreateEmptyFile(const fs::path& path)
54 {
55 std::ofstream ofs;
56 ofs.open(path.string(), std::ios::out);
57 }
58
59 //-------------------------------------------------------------------------
60 std::string RunProcess(const fs::path& program,

Callers 3

TEST_FFunction · 0.85
TemporaryPathMethod · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68