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

Function ToHtmlPath

Exporter/Html/TemplateHtmlExporter.cpp:46–51  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

44
45 //-------------------------------------------------------------------------
46 std::string ToHtmlPath(const fs::path& path)
47 {
48 auto htmlPath = path.wstring();
49 boost::algorithm::replace_all(htmlPath, L"\\", L"/");
50 return ToString(htmlPath);
51 }
52
53 //-------------------------------------------------------------------------
54 void WriteContentTo(const std::string& content, const fs::path& path)

Callers 1

FillSectionMethod · 0.85

Calls 1

ToStringFunction · 0.70

Tested by

no test coverage detected