---------------------------------------------------------------------
| 169 | |
| 170 | //--------------------------------------------------------------------- |
| 171 | bool FileExists(const std::filesystem::path& path) |
| 172 | { |
| 173 | std::error_code ignoredErrorCode; |
| 174 | |
| 175 | // Error can happen when the drive is not ready (DVD for example). |
| 176 | return std::filesystem::exists(path, ignoredErrorCode); |
| 177 | } |
| 178 | } |
no outgoing calls