| 289 | } // namespace |
| 290 | |
| 291 | bool exportData(const std::string& filePath) |
| 292 | { |
| 293 | if (hasExtension(filePath, ".json")) |
| 294 | return writeJSON(filePath); |
| 295 | return writeCSV(filePath); |
| 296 | } |
| 297 | |
| 298 | } // namespace OpenRCT2::Profiling |
no test coverage detected