News for hackers. Stuff that matters.
Re:CLI tool, written in Rust, to diff directory snapshots by grow2grow on Monday January 22, 2024 @03:26PM (#39094936)
> (For some extra “entropy”, by the way, snapdiff also takes the file size into consideration when comparing files.)

I get what you mean by "entropy", but wouldn't it be more direct to just say matching hashes will have their file sizes compared as a remedy to the collision?

Thanks for the effort, the "back yard diy" utilities are great for learning, especially with an accompanying article.

Re:CLI tool, written in Rust, to diff directory snapshots by jotaen on Monday January 22, 2024 @04:03PM (#39095406)
Yeah, fair point – I couldn’t think of a better word, that’s why I wrapped it in quotes. I’ve tried to simplified the phrasing:

> For some extra safety margin to avoid collisions, by the way, `snapdiff` also takes the file size into consideration when comparing files.