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