| 64 | |
| 65 | static int WindowsPath_isUNC(const wchar_t* data, int length) { |
| 66 | return length >= 5 && data[0] == L'\\' && data[1] == L'\\' && |
| 67 | WindowsPath_hasUNCServerAndShare(data + 2, length - 2); |
| 68 | } |
| 69 | |
| 70 | static int WindowsPath_isDriveAbsolute(const wchar_t* data, int length) { |
| 71 | return length >= 3 && WindowsPath_isDriveLetter(data[0]) && data[1] == L':' && data[2] == L'\\'; |
no test coverage detected