| 100 | |
| 101 | |
| 102 | bool isFile(const std::string& path) { |
| 103 | try { |
| 104 | return fs::is_regular_file(fs::u8path(path)); |
| 105 | } |
| 106 | catch (fs::filesystem_error& e) { |
| 107 | return false; |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | |
| 112 | bool isDirectory(const std::string& path) { |
no outgoing calls
no test coverage detected