mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 14:12:31 +00:00
change windows struct def
This commit is contained in:
parent
736e9b7564
commit
bb23164d3b
1 changed files with 13 additions and 3 deletions
|
@ -7,9 +7,19 @@ use std::fs::Metadata;
|
|||
pub enum FileType {
|
||||
BlockDevice,
|
||||
CharDevice,
|
||||
Directory { uid: bool },
|
||||
File { uid: bool, exec: bool },
|
||||
SymLink { is_dir: bool },
|
||||
Directory {
|
||||
uid: bool,
|
||||
},
|
||||
File {
|
||||
uid: bool,
|
||||
exec: bool,
|
||||
},
|
||||
#[cfg(unix)]
|
||||
SymLink {
|
||||
is_dir: bool,
|
||||
},
|
||||
#[cfg(windows)]
|
||||
SymLink,
|
||||
Pipe,
|
||||
Socket,
|
||||
Special,
|
||||
|
|
Loading…
Reference in a new issue