summaryrefslogtreecommitdiffstats
path: root/src/walk/windows.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/walk/windows.rs')
-rw-r--r--src/walk/windows.rs14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/walk/windows.rs b/src/walk/windows.rs
index 8a3bcca..43cdff2 100644
--- a/src/walk/windows.rs
+++ b/src/walk/windows.rs
@@ -1,13 +1,9 @@
pub fn generate_unique_id(_metadata: &std::fs::Metadata) -> Option<super::UniqueID> {
- // Since even the Windows-internal tools such as (but not limited to)
- // - Powershell,
- // - Explorer,
- // - dir,
- // are not respecting hardlinks or junction points when determining the
- // size of a directory [1], it has been decided that diskus will count
- // any such entries multiple times. too.
+ // Windows-internal tools such as Powershell, Explorer or `dir` are not respecting hardlinks
+ // or junction points when determining the size of a directory. `diskus` does the same and
+ // counts such entries multiple times (on Unix systems, multiple hardlinks to a single file are
+ // counted just once).
//
- // Footnotes:
- // [1] https://github.com/sharkdp/diskus/issues/32#issuecomment-532817905
+ // See: https://github.com/sharkdp/diskus/issues/32
None
}