| 92 | } |
| 93 | |
| 94 | bool FilesExist(const std::vector<string>& files, |
| 95 | std::vector<Status>* status) override { |
| 96 | for (auto it : files) { |
| 97 | bool found = false; |
| 98 | for (auto jt : file_names_) { |
| 99 | if (it == jt) { |
| 100 | status->emplace_back(Status::OK()); |
| 101 | found = true; |
| 102 | break; |
| 103 | } |
| 104 | } |
| 105 | if (!found) { |
| 106 | status->emplace_back(Status(errors::Code::NOT_FOUND, "")); |
| 107 | } |
| 108 | } |
| 109 | return !status->empty(); |
| 110 | } |
| 111 | |
| 112 | Status GetChildren(const string& dir, |
| 113 | std::vector<string>* result) override { |
nothing calls this directly
no test coverage detected