| 163 | } |
| 164 | |
| 165 | bool cmInstrumentation::ReadJSONQueries(std::string const& directory) |
| 166 | { |
| 167 | cmsys::Directory d; |
| 168 | bool result = false; |
| 169 | if (d.Load(directory)) { |
| 170 | for (unsigned int i = 0; i < d.GetNumberOfFiles(); i++) { |
| 171 | std::string fpath = d.GetFilePath(i); |
| 172 | if (cmHasLiteralSuffix(fpath, ".json")) { |
| 173 | result = true; |
| 174 | this->ReadJSONQuery(fpath); |
| 175 | } |
| 176 | } |
| 177 | } |
| 178 | return result; |
| 179 | } |
| 180 | |
| 181 | void cmInstrumentation::ReadJSONQuery(std::string const& file) |
| 182 | { |
no test coverage detected