mirror of
https://github.com/nushell/reedline.git
synced 2024-10-27 01:45:51 +03:00
4f25ce5633
Changes the history API to support different storage backends and more rich information to be used as metadata/filtering criterions. Includes a SQLite backed history with additional fields and ports the simple `FileBackedHistory` format consistent. Includes a `HistoryCursor` to abstract the internal interactive browsing. Updates `History` trait to cover the API to load and store to the storage backend. Commits * basic sqlite history * fix test compilation * final touches for MVP * better documentation * fix for empty history * partial change to non-generic history * mostly working * fix tests and ci * fixes, format * move history item to new file * fix some comments, fix test compile errors todo: fix tests * ci features matrix * fix index creation * fix file-based tests * move logic for not saving empty entries to engine * fix update last command on empty, set up application_id and check version * add specific error variants * format * fix compile errors * fix fmt * sqlite with bashisms * hide with features * cargo fmt * improve performance of bashisms selectors * Style: Remove commented out code Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com> Co-authored-by: Fernando Herrera <fernando.j.herrera@gmail.com> Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
9 lines
101 B
Plaintext
9 lines
101 B
Plaintext
target/
|
|
history.txt
|
|
history.sqlite3*
|
|
.DS_Store
|
|
target-coverage/
|
|
tarpaulin-report.html
|
|
.vscode
|
|
.helix
|