Commit Graph

1410 Commits

Author SHA1 Message Date
Andrew Phillips (aider)
51acd0933f fix: Implement digest calculation loop and update item in DB 2025-05-13 19:01:52 -03:00
Andrew Phillips
932b32edef refactor: move compression engine init and reorganize digest recalculation logic 2025-05-13 19:01:44 -03:00
Andrew Phillips (aider)
ce44134ab7 refactor: replace if let with match for digest type handling 2025-05-13 18:45:13 -03:00
Andrew Phillips (aider)
6d2640650c fix: remove unused imports and fix as_ref usage 2025-05-13 18:44:03 -03:00
Andrew Phillips (aider)
98d10e787c style: fix indentation in mode_update digest calculation 2025-05-13 18:43:17 -03:00
Andrew Phillips (aider)
f419392c8f fix: close unclosed delimiter in update.rs 2025-05-13 18:42:36 -03:00
Andrew Phillips (aider)
10c3e2d5c8 fix: add ResultExt to anyhow imports 2025-05-13 18:41:53 -03:00
Andrew Phillips (aider)
d58dea9c3f fix: add bail to anyhow import in update.rs 2025-05-13 18:41:30 -03:00
Andrew Phillips (aider)
64c4dce492 fix: add Context to anyhow import 2025-05-13 18:41:08 -03:00
Andrew Phillips (aider)
6d724c73b9 fix: Handle optional digest_type when checking for digest recalculation 2025-05-13 18:40:39 -03:00
Andrew Phillips
e7496b8978 fix: Fix COMPRESSION typo, correct DIGEST log tag, and refactor mode_update cloning 2025-05-13 18:36:23 -03:00
Andrew Phillips (aider)
eaeb83f12e fix: add rusqlite Connection import and fix item_path scope 2025-05-13 18:31:46 -03:00
Andrew Phillips (aider)
d8e0cb9758 fix: add DigestType and get_digest_engine imports, fix item_path scope 2025-05-13 18:30:31 -03:00
Andrew Phillips (aider)
9a99bbd8bc feat: Recalculate digest if digest_type is set but digest_value is missing 2025-05-13 18:26:42 -03:00
Andrew Phillips
62aeb05e76 refactor: improve option handling and variable naming in show_item 2025-05-13 18:18:29 -03:00
Andrew Phillips (aider)
c167f28d17 fix: resolve compilation errors in info.rs by adding imports and fixing type handling 2025-05-13 18:10:37 -03:00
Andrew Phillips (aider)
975acf2dc3 refactor: extract item display logic into show_item function 2025-05-13 18:08:19 -03:00
Andrew Phillips (aider)
9046d0b558 refactor: replace if let with match in mode_info handling 2025-05-13 18:04:58 -03:00
Andrew Phillips (aider)
5727c831dc fix: resolve type mismatches by cloning Options and handling Result correctly in info.rs 2025-05-13 18:02:41 -03:00
Andrew Phillips (aider)
36a0eb56c1 fix: resolve type mismatches in info mode handling 2025-05-13 17:58:20 -03:00
Andrew Phillips (aider)
485b36ce02 feat: add digest type and value to info output 2025-05-13 17:55:48 -03:00
Andrew Phillips
cf279c42f1 style: add trailing commas in ColumnType match arms 2025-05-13 17:50:41 -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)
3e79b653b5 feat: add support for Item.digest_type and digest_value in database operations 2025-05-13 17:18:09 -03:00
Andrew Phillips
6a2476825b feat: add digest fields and update compression default in items table 2025-05-13 17:17:59 -03:00
Andrew Phillips (aider)
0a33dcd90d fix: use md5sum instead of bzip2 for MD5 digest 2025-05-13 17:02:48 -03:00
Andrew Phillips (aider)
928608ae51 feat: add Debug derive to DigestEngineProgram 2025-05-13 16:59:20 -03:00
Andrew Phillips (aider)
3d0c432336 fix: add Clone derive to DigestEngineProgram 2025-05-13 16:58:06 -03:00
Andrew Phillips (aider)
75e131d0e3 feat: add build_digest_table based on build_compression_table 2025-05-13 16:56:19 -03:00
Andrew Phillips (aider)
d26218617a fix: add strum import and remove Box.expect call 2025-05-13 16:53:19 -03:00
Andrew Phillips (aider)
e5bbbd61a3 feat: add digest_engine::default_digest_type() 2025-05-13 16:47:37 -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 (aider)
ff7f7035c8 refactor: Rename default_type to default_compression_type 2025-05-13 16:42:08 -03:00
Andrew Phillips
a25e6bfdb3 refactor: remove unused parameters and simplify build functions 2025-05-13 16:38:22 -03:00
Andrew Phillips (aider)
ecc6646c6c fix: add missing anyhow::Error to Result return type in status.rs 2025-05-13 16:32:15 -03:00
Andrew Phillips
e9c6892111 refactor: move path table creation to build_path_table function 2025-05-13 16:32:07 -03:00
Andrew Phillips (aider)
1358d634c1 refactor: extract path table creation into build_path_table function 2025-05-13 16:30:17 -03:00
Andrew Phillips (aider)
4e43fa3f62 fix: resolve type mismatch and remove unused code 2025-05-13 16:28:18 -03:00
Andrew Phillips (aider)
aea254ae62 refactor: move compression table creation to build_compression_table function 2025-05-13 16:26:45 -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)
8f93657fa1 refactor: consolidate imports for get_*_engine functions 2025-05-13 09:00:45 -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)
41ac4dafaf refactor: rename get_engine to get_compression_engine in diff mode 2025-05-13 08:54:04 -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)
e238f7569e fix: rename get_engine to get_compression_engine in compression_engine.rs 2025-05-13 08:48:59 -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