Merge pull request #1312 from E5ten/patch-3

Remove unused nlink
This commit is contained in:
Alex Lyon 2019-02-07 00:08:46 -08:00 committed by GitHub
commit 8a7442d257
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,6 @@ struct Stat {
is_dir: bool,
size: u64,
blocks: u64,
nlink: u64,
inode: u64,
created: u64,
accessed: u64,
@ -67,7 +66,6 @@ impl Stat {
is_dir: metadata.is_dir(),
size: metadata.len(),
blocks: metadata.blocks() as u64,
nlink: metadata.nlink() as u64,
inode: metadata.ino() as u64,
created: metadata.mtime() as u64,
accessed: metadata.atime() as u64,