diff options
Diffstat (limited to 'src/unix.rs')
-rw-r--r-- | src/unix.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/unix.rs b/src/unix.rs deleted file mode 100644 index fb1842c..0000000 --- a/src/unix.rs +++ /dev/null @@ -1,16 +0,0 @@ -use DirEntry; - -/// Unix-specific extension methods for `walkdir::DirEntry` -pub trait DirEntryExt { - /// Returns the underlying `d_ino` field in the contained `dirent` - /// structure. - fn ino(&self) -> u64; -} - -impl DirEntryExt for DirEntry { - /// Returns the underlying `d_ino` field in the contained `dirent` - /// structure. - fn ino(&self) -> u64 { - self.ino - } -} |