Jacob Hinkle 3556590f7b Work out using rusqlite and migrations.
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.
2022-10-26 12:37:47 -04:00
2022-10-13 10:16:10 -04:00
2022-10-13 10:16:10 -04:00
2022-10-13 10:16:10 -04:00
2022-10-14 12:53:33 -04:00
2022-10-13 10:16:10 -04:00
2022-10-13 10:16:10 -04:00

The file is empty.
Description
No description provided
Readme 219 KiB
Languages
Rust 95.7%
Nix 4.3%