Comment by eru
I recreated a little tool to simultaneously mount all the commits in a git repository as directories at the same time (but re-use the same inodes for the same content).
The code is at https://github.com/matthiasgoergens/git-snap-fs
The original was in Python and actually had a decent excuse for existing for a very specific problem at work a few years ago. The new version is in Rust and exists just for fun.
This was also a small experiment in coding with OpenAI's codex. I wrote the Python original by hand---like a caveman. Codex was mostly ok at the actual code, especially once I told it to make `cargo clippy` happy, but it needed lots of help with the design. It kept insisting on extra complications and state.
But perhaps I'm a bit unfair here, because I only figured out the nice and simple design after reflecting on the connection between Linux's fuse and git's design for a while when writing the original. So it's only fair that the computer would also need some help to see how to match them up nicely.
Could you expand on what problem the tool was originally built to solve?