| 693 | namespace { |
| 694 | |
| 695 | void FindHandleDeleter(HANDLE* handle) { |
| 696 | if (!FindClose(*handle)) { |
| 697 | ARROW_LOG(WARNING) << "Cannot close directory handle: " |
| 698 | << WinErrorMessage(GetLastError()); |
| 699 | } |
| 700 | } |
| 701 | |
| 702 | std::wstring PathWithoutTrailingSlash(const PlatformFilename& fn) { |
| 703 | std::wstring path = fn.ToNative(); |
no test coverage detected