pkolaczk / fclones

Efficient Duplicate File Finder
MIT License
1.84k stars 70 forks source link

How does a change in --hash-fn impact the --cache? [documentation] #192

Open patrickwolf opened 1 year ago

patrickwolf commented 1 year ago

It's not clear from the documentation how an existing cache is impacted by a change in --hash-fn

Thanks for answering here and or updating the documentation!

related ticket: #153

patrickwolf commented 1 year ago

from testing it seems like

pkolaczk commented 1 year ago

Yup, the hash algorithm is part of the key of the cache. So it maintains a separate hash cache for each algorithm.