| 269 | |
| 270 | |
| 271 | std::string getFilename(const std::string& path) { |
| 272 | try { |
| 273 | return fs::u8path(path).filename().generic_u8string(); |
| 274 | } |
| 275 | catch (fs::filesystem_error& e) { |
| 276 | return ""; |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | |
| 281 | std::string getStem(const std::string& path) { |
no outgoing calls
no test coverage detected