| 350 | } |
| 351 | |
| 352 | bool Win32File::getAttributes(Attributes* attr) |
| 353 | { |
| 354 | WIN32_FIND_DATAW info; |
| 355 | HANDLE handle = ::FindFirstFileW(PathToOS(mName).utf16(), &info); |
| 356 | ::FindClose(handle); |
| 357 | if (handle == INVALID_HANDLE_VALUE) |
| 358 | return false; |
| 359 | |
| 360 | _CopyStatAttributes(info,attr); |
| 361 | attr->name = mPath; |
| 362 | return true; |
| 363 | } |
| 364 | |
| 365 | U64 Win32File::getSize() |
| 366 | { |
nothing calls this directly
no test coverage detected