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

Function Match

FileFilterTest/PathMatcherTest.cpp:46–51  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

44 {
45 //-------------------------------------------------------------------------
46 std::wstring Match(PathMatcher& pathMatcher, const fs::path& path)
47 {
48 const auto* file = pathMatcher.Match(path);
49
50 return (file) ? file->GetPath().wstring() : L"No file found";
51 }
52 }
53
54 //-------------------------------------------------------------------------

Callers 3

IsModuleSelectedMethod · 0.85
IsSourceFileSelectedMethod · 0.85
TESTFunction · 0.85

Calls 1

MatchMethod · 0.45

Tested by

no test coverage detected