mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
uucore/fsext: merge some windows imports
This commit is contained in:
parent
d4a9d63ea2
commit
cc15876bb7
1 changed files with 5 additions and 3 deletions
|
@ -25,11 +25,13 @@ use std::ffi::OsStr;
|
|||
#[cfg(windows)]
|
||||
use std::os::windows::ffi::OsStrExt;
|
||||
#[cfg(windows)]
|
||||
use windows_sys::Win32::Foundation::{ERROR_NO_MORE_FILES, INVALID_HANDLE_VALUE};
|
||||
#[cfg(windows)]
|
||||
use windows_sys::Win32::Storage::FileSystem::{
|
||||
use windows_sys::Win32::{
|
||||
Foundation::{ERROR_NO_MORE_FILES, INVALID_HANDLE_VALUE},
|
||||
Storage::FileSystem::{
|
||||
FindFirstVolumeW, FindNextVolumeW, FindVolumeClose, GetDiskFreeSpaceW, GetDriveTypeW,
|
||||
GetVolumeInformationW, GetVolumePathNamesForVolumeNameW, QueryDosDeviceW,
|
||||
},
|
||||
System::WindowsProgramming::DRIVE_REMOTE,
|
||||
};
|
||||
#[cfg(windows)]
|
||||
use windows_sys::Win32::System::WindowsProgramming::DRIVE_REMOTE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue