| 259 | |
| 260 | |
| 261 | std::string getDirectory(const std::string& path) { |
| 262 | try { |
| 263 | return fs::u8path(path).parent_path().generic_u8string(); |
| 264 | } |
| 265 | catch (fs::filesystem_error& e) { |
| 266 | return ""; |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | |
| 271 | std::string getFilename(const std::string& path) { |
no outgoing calls
no test coverage detected