mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +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)]
|
#[cfg(windows)]
|
||||||
use std::os::windows::ffi::OsStrExt;
|
use std::os::windows::ffi::OsStrExt;
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
use windows_sys::Win32::Foundation::{ERROR_NO_MORE_FILES, INVALID_HANDLE_VALUE};
|
use windows_sys::Win32::{
|
||||||
#[cfg(windows)]
|
Foundation::{ERROR_NO_MORE_FILES, INVALID_HANDLE_VALUE},
|
||||||
use windows_sys::Win32::Storage::FileSystem::{
|
Storage::FileSystem::{
|
||||||
FindFirstVolumeW, FindNextVolumeW, FindVolumeClose, GetDiskFreeSpaceW, GetDriveTypeW,
|
FindFirstVolumeW, FindNextVolumeW, FindVolumeClose, GetDiskFreeSpaceW, GetDriveTypeW,
|
||||||
GetVolumeInformationW, GetVolumePathNamesForVolumeNameW, QueryDosDeviceW,
|
GetVolumeInformationW, GetVolumePathNamesForVolumeNameW, QueryDosDeviceW,
|
||||||
|
},
|
||||||
|
System::WindowsProgramming::DRIVE_REMOTE,
|
||||||
};
|
};
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
use windows_sys::Win32::System::WindowsProgramming::DRIVE_REMOTE;
|
use windows_sys::Win32::System::WindowsProgramming::DRIVE_REMOTE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue