summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2019-09-20 21:57:41 +0200
committerDavid Peter <sharkdp@users.noreply.github.com>2019-09-20 22:11:24 +0200
commit8e423caaea78fb409176607b2f67753a972b3391 (patch)
tree7614890198792d507b4362ea17786e3c1e32386e /src
parentf188fd5a713022723121669496d7c66eef10c531 (diff)
Shorten explanation
Diffstat (limited to 'src')
-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
}