| 289 | |
| 290 | |
| 291 | std::string getExtension(const std::string& path) { |
| 292 | try { |
| 293 | return fs::u8path(path).extension().generic_u8string(); |
| 294 | } |
| 295 | catch (fs::filesystem_error& e) { |
| 296 | return ""; |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | |
| 301 | std::vector<uint8_t> readFile(const std::string& path) { |
no outgoing calls
no test coverage detected