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

Method PathMatcher

FileFilter/PathMatcher.cpp:196–204  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

194
195 //-------------------------------------------------------------------------
196 PathMatcher::PathMatcher(
197 std::vector<File>&& files,
198 const boost::optional<fs::path>& parentPath)
199 {
200 if (parentPath)
201 pathMatcherEngine_ = std::make_unique<FullPathMatcherEngine>(*parentPath, std::move(files));
202 else
203 pathMatcherEngine_ = std::make_unique<PostFixPathMatcherEngine>(std::move(files));
204 }
205
206 //-------------------------------------------------------------------------
207 PathMatcher::~PathMatcher()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected