Feature: Ignore sym links

https://github.com/bootandy/dust/issues/264
This commit is contained in:
andy.boot
2023-01-04 18:51:52 +00:00
parent a91aa62060
commit 0ac818a2f5
9 changed files with 24 additions and 3 deletions
+3 -1
View File
@@ -21,7 +21,9 @@ pub fn get_metadata(d: &Path, use_apparent_size: bool) -> Option<(u64, Option<(u
Some((md.blocks() * get_block_size(), Some((md.ino(), md.dev()))))
}
}
Err(_e) => None,
Err(_e) => {
None
}
}
}