| 66 | this->AddName(name); |
| 67 | } |
| 68 | bool CheckCompoundNames() |
| 69 | { |
| 70 | return std::any_of(this->Names.begin(), this->Names.end(), |
| 71 | [this](std::string const& n) -> bool { |
| 72 | // Only perform search relative to current directory |
| 73 | // if the file name contains a directory separator. |
| 74 | return n.find('/') != std::string::npos && |
| 75 | this->CheckDirectoryForName("", n); |
| 76 | }); |
| 77 | } |
| 78 | bool CheckDirectory(std::string const& path) |
| 79 | { |
| 80 | return std::any_of(this->Names.begin(), this->Names.end(), |
no test coverage detected