Andrew Phillips (aider)
af84c332ea
fix: correct import statements and method usage
2025-05-22 15:49:34 -03:00
Andrew Phillips
f0ef529da5
feat: add meta plugin types support
2025-05-22 15:49:32 -03:00
Andrew Phillips
a8c363333c
refactor: remove digest fields from db and item struct
2025-05-21 20:24:17 -03:00
Andrew Phillips
5a6a8ee97b
refactor: improve code formatting and readability in SQL and function calls
2025-05-14 22:50:35 -03:00
Andrew Phillips
dd8f828ed3
refactor: update function parameters to use references where appropriate
2025-05-14 22:09:23 -03:00
Andrew Phillips
d1edd20845
feat: extract digest and compression type handling into common command functions
2025-05-14 21:54:45 -03:00
Andrew Phillips (aider)
0774e36184
fix: add missing imports and fix return type in store_item_digest_value
2025-05-14 17:20:28 -03:00
Andrew Phillips (aider)
4ac2943683
refactor: update store_item_digest_value calls to use new argument types
2025-05-14 17:18:11 -03:00
Andrew Phillips (aider)
72a8337f4e
refactor: use store_item_digest_value in mode_update and mode_save
2025-05-14 17:12:18 -03:00
Andrew Phillips
5790aa6993
refactor: rename variable to clarify digest metadata purpose
2025-05-14 17:04:11 -03:00
Andrew Phillips (aider)
ac4660684d
fix: clone moved values to resolve ownership issues
2025-05-14 16:32:04 -03:00
Andrew Phillips (aider)
477a03fbb7
feat: store digest in meta entry with get_digest_type_meta as name
2025-05-14 16:29:27 -03:00
Andrew Phillips
bbdfe19836
feat: add compression and digest support with database schema updates
2025-05-14 09:45:51 -03:00
Andrew Phillips
1aaf1e6221
feat: make digest_value optional and add digest display
2025-05-13 17:49:19 -03:00
Andrew Phillips (aider)
1d9ca1b9dd
fix: clone digest_type to avoid move error
2025-05-13 17:25:38 -03:00
Andrew Phillips (aider)
2e6bc0cc77
fix: add missing digest_type and digest_value to db::Item
2025-05-13 17:22:08 -03:00
Andrew Phillips (aider)
6074fd3430
refactor: rename default_type to default_compression_type in compression calls
2025-05-13 16:44:12 -03:00
Andrew Phillips
0189f3c273
refactor: remove module prefixes from compression and digest engine functions
2025-05-13 15:00:30 -03:00
Andrew Phillips (aider)
f0a8fb3490
refactor: Remove crate:: prefix from get_digest_engine
2025-05-13 08:58:24 -03:00
Andrew Phillips (aider)
889c2bc838
refactor: update engine calls to use imported functions
2025-05-13 08:56:21 -03:00
Andrew Phillips (aider)
e15cf371e0
refactor: Update imports to use specific get_engine functions
2025-05-13 08:51:21 -03:00
Andrew Phillips (aider)
9330fc1db9
refactor: Rename get_engine to get_compression_engine and update references
2025-05-13 08:46:41 -03:00
Andrew Phillips (aider)
0be716eac0
refactor: Rename get_engine to get_digest_engine and update references
2025-05-13 08:42:02 -03:00
Andrew Phillips
7db2a2ab75
(no commit message provided)
2025-05-13 08:16:47 -03:00
Andrew Phillips (aider)
4c2df3d743
fix: add PathBuf import and fix ? operator usage
2025-05-12 22:10:16 -03:00
Andrew Phillips
ae34376468
chore: remove unused PathBuf import
2025-05-12 22:10:05 -03:00
Andrew Phillips
4ee0715e39
refactor: update digest engine to use Result and Write, add is_supported method
2025-05-12 20:32:58 -03:00
Andrew Phillips (aider)
b1bfa7110b
feat: Add --digest CLI option to select digest type
2025-05-12 19:10:12 -03:00
Andrew Phillips (aider)
41060c3029
feat: create digest engine with Sha256/Md5/None and integrate with save mode
2025-05-12 18:21:34 -03:00
Andrew Phillips (aider)
f6b6bc5768
fix: add FromStr import, remove unused compression_engine import
2025-05-12 17:20:44 -03:00
Andrew Phillips (aider)
0dba671f8d
fix: Fix CompressionType and compression module references in save mode
2025-05-12 17:19:45 -03:00
Andrew Phillips (aider)
ad922485d0
fix: Remove duplicate and unused imports in save mode
2025-05-12 17:18:33 -03:00
Andrew Phillips (aider)
ba6e27f708
fix: resolve unresolved compression engine imports
2025-05-12 17:17:42 -03:00
Andrew Phillips (aider)
66e61a4196
refactor: move compression types to compression_engine module
2025-05-12 17:12:17 -03:00
Andrew Phillips
6bbc306c23
style: reorder imports and adjust formatting
2025-05-10 13:09:49 -03:00
Andrew Phillips (aider)
9fedd37494
fix: fix duplicate imports, type mismatch, and missing Read trait
2025-05-10 11:54:59 -03:00
Andrew Phillips (aider)
887e9cda42
The SEARCH block must exactly match the existing lines, including context. Here's the corrected block for src/modes/get.rs:
...
```rust
<<<<<<< SEARCH
use std::str::FromStr;
use clap::Command;
=======
use std::str::FromStr;
use std::io::BufWriter;
use clap::Command;
>>>>>>> REPLACE
```
This ensures the `BufWriter` import is added between `FromStr` and `Command` without duplicating any existing lines.
2025-05-10 11:51:47 -03:00
Andrew Phillips (aider)
b91144bbf2
fix: resolve missing and conflicting imports
2025-05-10 11:50:16 -03:00
Andrew Phillips (aider)
86d2c2f9f5
fix: add missing imports and remove unused ones
2025-05-10 11:47:47 -03:00
Andrew Phillips (aider)
f913abda58
refactor: remove unused imports and add chrono::Utc
2025-05-10 11:42:59 -03:00
Andrew Phillips (aider)
520bb00927
fix: resolve imports and remove unused ones
2025-05-10 11:40:43 -03:00
Andrew Phillips (aider)
bd661ff850
refactor: update mode_save to use &mut Connection like mode_get
2025-05-10 11:29:24 -03:00
Andrew Phillips (aider)
d818358860
refactor: move mode_save to dedicated save module
2025-05-10 10:10:27 -03:00