This is a big commit where I learned how to do proper error tracking, including handling From properly, and deriving it in some cases. The record subcommand still is not implemented but will be easier now that I decided to use SQLite temp tables as my data structure. This means I can simply implement a few loops in the fs submodule in order to scan directories, and dump entries into temp tables. When finished, I'll drop the tables. This is nice because SQLite already contains a very efficient BTree implementation that we can use with indices on these temp tables. It also means we don't have to hold possibly millions of directory entries in memory, and most importantly, we don't have to figure out a bidirectional tree structure in rust.
The file is empty.
Description
Languages
Rust
95.7%
Nix
4.3%