MCPcopy Create free account
hub / github.com/catchorg/Catch2 / windowsify_path

Function windowsify_path

tools/misc/coverage-helper.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84std::string windowsify_path(std::string path) {
85 for (auto& c : path) {
86 if (c == '/') {
87 c = '\\';
88 }
89 }
90 return path;
91}
92
93int exec_cmd(std::string const& cmd, int log_num, std::string const& path) {
94 std::array<char, 128> buffer;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected