mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Remove unused nlink
Now that --apparent-size does not use stat.nlink * stat.size, nlink is not used anywhere in du and can be removed from what I can see.
This commit is contained in:
parent
b8dbefcb71
commit
cc8899cb5b
1 changed files with 0 additions and 2 deletions
|
@ -54,7 +54,6 @@ struct Stat {
|
|||
is_dir: bool,
|
||||
size: u64,
|
||||
blocks: u64,
|
||||
nlink: u64,
|
||||
inode: u64,
|
||||
created: u64,
|
||||
accessed: u64,
|
||||
|
@ -69,7 +68,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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue