That same concept utilizing a cow filesystem would be neat I think, you'd be able to skip your hashing and replace the sqlite with hardlinks, effectively versioning passively whenever something was written to

But now that I think about it, its too obvious not to exist already. Probably just dont know about it yet •́ ‿ , •̀