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

Function NormalizePath

FileFilter/PathMatcher.cpp:38–44  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

36 {
37 //---------------------------------------------------------------------
38 fs::path NormalizePath(const fs::path& path)
39 {
40 fs::path lowerPath = boost::algorithm::to_lower_copy(path.wstring());
41 lowerPath.make_preferred();
42
43 return lowerPath;
44 }
45 }
46
47 //-------------------------------------------------------------------------

Callers 4

MatchMethod · 0.85
FullPathMatcherEngineMethod · 0.85
MatchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected