| 32 | {} |
| 33 | |
| 34 | bool PathMatch::match(const std::string &path, Filemode mode) const |
| 35 | { |
| 36 | return std::any_of(mPatterns.cbegin(), mPatterns.cend(), [&] (const std::string &pattern) { |
| 37 | return match(pattern, path, mBasepath, mode, mSyntax); |
| 38 | }); |
| 39 | } |
| 40 | |
| 41 | bool PathMatch::match(const std::string &pattern, const std::string &path, const std::string &basepath, Filemode mode, Syntax syntax) |
| 42 | { |
nothing calls this directly
no test coverage detected