atuin/atuin-common
Ellie Huxtable 9558fec211
Add RecordIndex data structure (#1059)
* Add RecordIndex data structure

This allows us to compare two sets of record stores, and return a list
of diffs.

With these diffs, we should be able to sync the two stores

* Remove server handler, will follow up with this

* Make clippy happy

* Add tests and docs for diffs in both directions

* Update atuin-common/src/record.rs

Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>

---------

Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2023-06-19 09:02:15 +01:00
..
src Add RecordIndex data structure (#1059) 2023-06-19 09:02:15 +01:00
Cargo.toml Add RecordIndex data structure (#1059) 2023-06-19 09:02:15 +01:00