summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 23:53:54 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 23:53:54 +0200
commit0b155e8df3205aebf129091b517f4116665a5adc (patch)
tree2215aa05b1d703f9b37badd96aa94a95fd2b14bf /docs
parent1f1a303c617057f149b4f0d748ee0a195484642c (diff)
downloadkrino-0b155e8df3205aebf129091b517f4116665a5adc.tar.gz
krino-0b155e8df3205aebf129091b517f4116665a5adc.zip
main excludes checked with the defaults' case and fold; Latin-1 decoding memory; hardlink election documented
Diffstat (limited to 'docs')
-rw-r--r--docs/design.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/design.md b/docs/design.md
index c9ebe50..ef52d7e 100644
--- a/docs/design.md
+++ b/docs/design.md
@@ -279,7 +279,10 @@ by size. Only groups of two or more are hashed: first the first and last
64 KiB, then SHA-256 of the whole file. Empty files are never duplicates.
Two names for the same file — the same device and inode, as a hardlink
creates — are never duplicates of each other; they may still both be
-duplicates of a separate identical file.
+duplicates of a separate identical file. The original is elected once for
+all identical content, so a scanned file whose hardlink under a DIR is
+elected is that original, and not a duplicate, even when the DIR also
+holds a separate copy.
The **original** in each group is, in order of preference: a file under one
of the given DIRs, then the oldest by mtime, then the shortest name, then