| 110 | |
| 111 | |
| 112 | bool isDirectory(const std::string& path) { |
| 113 | try { |
| 114 | return fs::is_directory(fs::u8path(path)); |
| 115 | } |
| 116 | catch (fs::filesystem_error& e) { |
| 117 | return false; |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | |
| 122 | uint64_t getFileSize(const std::string& path) { |
no outgoing calls
no test coverage detected