| 24 | |
| 25 | #if defined(_WIN32) || defined(__EMSCRIPTEN__) |
| 26 | static bool isWindowsDrivePath(std::string_view path) { |
| 27 | return path.length() >= 2 && std::isalpha(static_cast<unsigned char>(path[0])) && |
| 28 | path[1] == ':'; |
| 29 | } |
| 30 | |
| 31 | static bool isWindowsUNCPath(std::string_view path) { |
| 32 | return path.length() >= 2 && |