Compare commits
2 Commits
3e65c13a5b
...
150b728172
Author | SHA1 | Date | |
---|---|---|---|
|
150b728172 | ||
35dfc99176 |
@ -8,10 +8,16 @@ use std::{
|
||||
fs::{self, Metadata},
|
||||
io,
|
||||
ops::Deref,
|
||||
os::{linux::fs::MetadataExt, unix::fs::FileTypeExt},
|
||||
os::unix::fs::FileTypeExt,
|
||||
path::PathBuf,
|
||||
};
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
use std::os::linux::fs::MetadataExt;
|
||||
|
||||
#[cfg(target_os = "freebsd")]
|
||||
use std::os::freebsd::fs::MetadataExt;
|
||||
|
||||
#[repr(u8)]
|
||||
pub enum FileType {
|
||||
Normal = 0x30,
|
||||
|
BIN
test/2.tar
BIN
test/2.tar
Binary file not shown.
Loading…
Reference in New Issue
Block a user