logoalt Hacker News

actionfromafaryesterday at 6:15 PM1 replyview on HN

Imagine if filesystems had exposed the file hash next to its mtime.


Replies

oftenwrongyesterday at 9:23 PM

I might be missing your sarcasm, but this is a common approach for large scale builds. Virtual filesystems are used to provide a pre-computed tree hash as a xattr. In a more typical case, you can read the git tree hash.