| 359 | } |
| 360 | |
| 361 | bool Win32File::getAttributes(Attributes* attr) |
| 362 | { |
| 363 | WIN32_FIND_DATAW info; |
| 364 | HANDLE handle = ::FindFirstFileW(PathToOS(mName).utf16(), &info); |
| 365 | ::FindClose(handle); |
| 366 | if (handle == INVALID_HANDLE_VALUE) |
| 367 | return false; |
| 368 | |
| 369 | _CopyStatAttributes(info,attr); |
| 370 | attr->name = mPath; |
| 371 | return true; |
| 372 | } |
| 373 | |
| 374 | U64 Win32File::getSize() |
| 375 | { |
nothing calls this directly
no test coverage detected