-
928608ae51
feat: add Debug derive to DigestEngineProgram
Andrew Phillips (aider)
2025-05-13 16:59:20 -03:00
-
3d0c432336
fix: add Clone derive to DigestEngineProgram
Andrew Phillips (aider)
2025-05-13 16:58:06 -03:00
-
75e131d0e3
feat: add build_digest_table based on build_compression_table
Andrew Phillips (aider)
2025-05-13 16:56:19 -03:00
-
d26218617a
fix: add strum import and remove Box.expect call
Andrew Phillips (aider)
2025-05-13 16:53:19 -03:00
-
e5bbbd61a3
feat: add digest_engine::default_digest_type()
Andrew Phillips (aider)
2025-05-13 16:47:37 -03:00
-
6074fd3430
refactor: rename default_type to default_compression_type in compression calls
Andrew Phillips (aider)
2025-05-13 16:44:12 -03:00
-
ff7f7035c8
refactor: Rename default_type to default_compression_type
Andrew Phillips (aider)
2025-05-13 16:42:08 -03:00
-
a25e6bfdb3
refactor: remove unused parameters and simplify build functions
Andrew Phillips
2025-05-13 16:38:22 -03:00
-
ecc6646c6c
fix: add missing anyhow::Error to Result return type in status.rs
Andrew Phillips (aider)
2025-05-13 16:32:15 -03:00
-
e9c6892111
refactor: move path table creation to build_path_table function
Andrew Phillips
2025-05-13 16:32:07 -03:00
-
1358d634c1
refactor: extract path table creation into build_path_table function
Andrew Phillips (aider)
2025-05-13 16:30:17 -03:00
-
4e43fa3f62
fix: resolve type mismatch and remove unused code
Andrew Phillips (aider)
2025-05-13 16:28:18 -03:00
-
aea254ae62
refactor: move compression table creation to build_compression_table function
Andrew Phillips (aider)
2025-05-13 16:26:45 -03:00
-
0189f3c273
refactor: remove module prefixes from compression and digest engine functions
Andrew Phillips
2025-05-13 15:00:30 -03:00
-
8f93657fa1
refactor: consolidate imports for get_*_engine functions
Andrew Phillips (aider)
2025-05-13 09:00:45 -03:00
-
f0a8fb3490
refactor: Remove crate:: prefix from get_digest_engine
Andrew Phillips (aider)
2025-05-13 08:58:24 -03:00
-
889c2bc838
refactor: update engine calls to use imported functions
Andrew Phillips (aider)
2025-05-13 08:56:21 -03:00
-
41ac4dafaf
refactor: rename get_engine to get_compression_engine in diff mode
Andrew Phillips (aider)
2025-05-13 08:54:04 -03:00
-
e15cf371e0
refactor: Update imports to use specific get_engine functions
Andrew Phillips (aider)
2025-05-13 08:51:21 -03:00
-
e238f7569e
fix: rename get_engine to get_compression_engine in compression_engine.rs
Andrew Phillips (aider)
2025-05-13 08:48:59 -03:00
-
9330fc1db9
refactor: Rename get_engine to get_compression_engine and update references
Andrew Phillips (aider)
2025-05-13 08:46:41 -03:00
-
0be716eac0
refactor: Rename get_engine to get_digest_engine and update references
Andrew Phillips (aider)
2025-05-13 08:42:02 -03:00
-
7db2a2ab75
(no commit message provided)
Andrew Phillips
2025-05-13 08:16:47 -03:00
-
9ba3a31e95
fix: remove duplicate digest argument and adjust imports
Andrew Phillips
2025-05-12 22:11:56 -03:00
-
4c2df3d743
fix: add PathBuf import and fix ? operator usage
Andrew Phillips (aider)
2025-05-12 22:10:16 -03:00
-
ae34376468
chore: remove unused PathBuf import
Andrew Phillips
2025-05-12 22:10:05 -03:00
-
1e43a5e855
refactor: use with_context for process spawning error handling
Andrew Phillips (aider)
2025-05-12 22:04:33 -03:00
-
d827a4d772
fix: remove unused field and add missing Context import
Andrew Phillips (aider)
2025-05-12 22:03:46 -03:00
-
ec3771cd5d
fix: Remove unused field and fix context method in DigestEngineProgram
Andrew Phillips (aider)
2025-05-12 22:01:16 -03:00
-
1b96f474fe
fix: add Context trait and correct with_context usage
Andrew Phillips (aider)
2025-05-12 20:49:58 -03:00
-
5ab5a47090
fix: remove Clone derive and fix context method usage
Andrew Phillips (aider)
2025-05-12 20:48:44 -03:00
-
89e8ade361
fix: add missing process field and Context import
Andrew Phillips (aider)
2025-05-12 20:47:15 -03:00
-
650d410383
fix: resolve compilation errors by correcting imports, struct fields, and method usage
Andrew Phillips (aider)
2025-05-12 20:46:14 -03:00
-
416c65d177
fix: resolve duplicate imports and missing io/Context imports
Andrew Phillips (aider)
2025-05-12 20:44:47 -03:00
-
faff90f5d3
fix: resolve Rust compilation errors by fixing imports and missing types
Andrew Phillips (aider)
2025-05-12 20:43:31 -03:00
-
d07fd7c440
refactor: Remove unused imports
Andrew Phillips (aider)
2025-05-12 20:42:14 -03:00
-
712a820eba
fix: Fix missing Write trait and unused imports
Andrew Phillips (aider)
2025-05-12 20:41:18 -03:00
-
8d7a1c2eb8
refactor: Remove is_supported from LZ4 engine
Andrew Phillips
2025-05-12 20:41:08 -03:00
-
192b9e2f57
refactor: remove process storage from ProgramWriter
Andrew Phillips (aider)
2025-05-12 20:40:11 -03:00
-
e0d3f86c49
fix: Fix unused imports and ProgramWriter issues
Andrew Phillips (aider)
2025-05-12 20:39:16 -03:00
-
539c48aa2a
refactor: Replace stdin field with process field in DigestEngineProgram
Andrew Phillips (aider)
2025-05-12 20:37:25 -03:00
-
c7533890c8
fix: implement Write trait for digest engines
Andrew Phillips (aider)
2025-05-12 20:36:15 -03:00
-
f748fdd0f3
refactor: add update method to digest engines for consistent write interface
Andrew Phillips (aider)
2025-05-12 20:33:13 -03:00
-
4ee0715e39
refactor: update digest engine to use Result and Write, add is_supported method
Andrew Phillips
2025-05-12 20:32:58 -03:00
-
1aba71a3d6
fix: use finalize for digest comparison in eq
Andrew Phillips (aider)
2025-05-12 19:40:12 -03:00
-
64aaf5d4d5
fix: add hasher clone to access result method
Andrew Phillips (aider)
2025-05-12 19:39:32 -03:00
-
6ceac4a91e
fix: resolve trait implementation errors and fix hasher move in finalize
Andrew Phillips (aider)
2025-05-12 19:38:46 -03:00
-
1117444302
chore: remove SHA2 digest engine implementation
Andrew Phillips
2025-05-12 19:35:35 -03:00
-
b1bfa7110b
feat: Add --digest CLI option to select digest type
Andrew Phillips (aider)
2025-05-12 19:10:12 -03:00
-
a3a4c49e31
fix: remove Eq/PartialEq and clone hasher to resolve trait and move errors
Andrew Phillips (aider)
2025-05-12 19:03:35 -03:00
-
2a38f9c357
chore: update dependencies
Andrew Phillips
2025-05-12 19:00:41 -03:00
-
57fb89394f
feat: add sha2 crate to dependencies
Andrew Phillips (aider)
2025-05-12 18:59:16 -03:00
-
81e193f6a8
fix: create sha2_digest module for digest engine
Andrew Phillips (aider)
2025-05-12 18:55:51 -03:00
-
489de191a5
fix: resolve name conflict by renaming sha2 module to sha2_digest
Andrew Phillips (aider)
2025-05-12 18:51:57 -03:00
-
3c9c69893c
fix: import Sha256 from sha2 crate to resolve name conflict
Andrew Phillips (aider)
2025-05-12 18:50:36 -03:00
-
b481a14a23
fix: remove conflicting sha2 imports in digest_engine
Andrew Phillips (aider)
2025-05-12 18:49:22 -03:00
-
621985ccf0
fix: add missing imports for sha2, Command, and Stdio
Andrew Phillips (aider)
2025-05-12 18:27:23 -03:00
-
a24612ccb8
refactor: remove unused std::process import
Andrew Phillips
2025-05-12 18:27:03 -03:00
-
3ad07f1651
fix: Fix unresolved imports for sha2 and DigestEngine, add Enum macro, remove unused imports
Andrew Phillips (aider)
2025-05-12 18:25:47 -03:00
-
3e9bbcfa7e
feat: add digest_engine module to crate root
Andrew Phillips (aider)
2025-05-12 18:23:55 -03:00
-
41060c3029
feat: create digest engine with Sha256/Md5/None and integrate with save mode
Andrew Phillips (aider)
2025-05-12 18:21:34 -03:00
-
f6b6bc5768
fix: add FromStr import, remove unused compression_engine import
Andrew Phillips (aider)
2025-05-12 17:20:44 -03:00
-
0dba671f8d
fix: Fix CompressionType and compression module references in save mode
Andrew Phillips (aider)
2025-05-12 17:19:45 -03:00
-
ad922485d0
fix: Remove duplicate and unused imports in save mode
Andrew Phillips (aider)
2025-05-12 17:18:33 -03:00
-
ba6e27f708
fix: resolve unresolved compression engine imports
Andrew Phillips (aider)
2025-05-12 17:17:42 -03:00
-
71a35a77a0
fix: correct compression module imports
Andrew Phillips (aider)
2025-05-12 17:16:52 -03:00
-
1b109f0cf0
fix: rename compression module to compression_engine and remove unused imports
Andrew Phillips (aider)
2025-05-12 17:15:35 -03:00
-
66e61a4196
refactor: move compression types to compression_engine module
Andrew Phillips (aider)
2025-05-12 17:12:17 -03:00
-
b08c7e7346
refactor: Rename compression module to compression_engine and update references
Andrew Phillips (aider)
2025-05-12 17:11:32 -03:00
-
e3159473d0
chore: Rename compression directory to compression_engine
Andrew Phillips
2025-05-12 17:08:00 -03:00
-
9c8bc542c5
refactor: format assert macros for better readability
Andrew Phillips
2025-05-12 16:44:43 -03:00
-
abef0bc96e
style: add newline to separate test cases
Andrew Phillips
2025-05-12 16:40:23 -03:00
-
20f455884c
test: add test for unknown compression handling and fix whitespace
Andrew Phillips
2025-05-12 16:40:04 -03:00
-
ec3716e4b9
style: convert multi-line asserts to single-line format
Andrew Phillips (aider)
2025-05-12 16:24:05 -03:00
-
51cac5ad3a
style: format assert!() macros to single line
Andrew Phillips (aider)
2025-05-12 16:23:33 -03:00
-
26198933c5
test: add command logging to track test execution
Andrew Phillips (aider)
2025-05-12 16:19:09 -03:00
-
6d365f7eed
test: add output validation for compression formats
Andrew Phillips
2025-05-12 16:19:00 -03:00
-
c46e78b067
test: Improve error messages in test_compression
Andrew Phillips (aider)
2025-05-12 16:05:02 -03:00
-
e72ef13c60
test: improve error messages with command and status
Andrew Phillips (aider)
2025-05-12 16:02:26 -03:00
-
978a226b78
test: add compression tests for none, lz4, gzip, bzip2
Andrew Phillips (aider)
2025-05-12 15:58:13 -03:00
-
d8ce6f98c6
refactor: Update create_test_items to use global INPUT_A and INPUT_B constants
Andrew Phillips (aider)
2025-05-12 15:54:58 -03:00
-
ca15cc4e65
refactor: convert input_a and input_b to global constants
Andrew Phillips (aider)
2025-05-12 15:53:15 -03:00
-
aace16b70d
refactor: use input_a and input_b in test assertions
Andrew Phillips (aider)
2025-05-12 15:50:14 -03:00
-
b95c7367e7
test: add detailed error messages to assert statements
Andrew Phillips (aider)
2025-05-12 15:40:25 -03:00
-
310d8afe95
test: enable verbose mode in tests and update assertions
Andrew Phillips
2025-05-12 15:40:16 -03:00
-
bfa471cd84
test: Add error messages to String.contains() asserts in tests
Andrew Phillips (aider)
2025-05-12 13:38:09 -03:00
-
098473f5d1
test: Add test for diff command functionality
Andrew Phillips (aider)
2025-05-12 13:35:53 -03:00
-
c00e777762
refactor: reorder code in create_test_items function
Andrew Phillips (aider)
2025-05-12 13:34:22 -03:00
-
dedbf95f3e
fix: resolve variable scope and function argument issues in tests
Andrew Phillips (aider)
2025-05-12 13:33:50 -03:00
-
e5b36779db
refactor: remove function arg from create_test_items and move logic to tests
Andrew Phillips (aider)
2025-05-12 13:31:44 -03:00
-
c34d7ccf4d
refactor: remove closure from create_test_items in test_save_item
Andrew Phillips
2025-05-12 13:31:34 -03:00
-
7490be8e42
refactor: suppress unused variable warning by renaming parameter to _f
Andrew Phillips (aider)
2025-05-12 13:23:04 -03:00
-
2a7539e558
refactor: simplify test_list_items using create_test_items helper
Andrew Phillips (aider)
2025-05-12 13:21:56 -03:00
-
9407408179
refactor: use create_test_items for test environment setup
Andrew Phillips (aider)
2025-05-12 13:19:46 -03:00
-
2ef54a8efa
fix: assertion messages show command instead of input
Andrew Phillips (aider)
2025-05-12 13:17:01 -03:00
-
159959173c
test: use env to run commands and add 'tag' as tag
Andrew Phillips (aider)
2025-05-12 13:14:26 -03:00
-
d72a71d325
test: add create_test_items helper for common test environment setup
Andrew Phillips (aider)
2025-05-12 13:11:25 -03:00
-
d9072d22d5
refactor: improve test structure and reliability
Andrew Phillips
2025-05-12 13:07:33 -03:00
-
eaf341cdfb
refactor: reorder tests to ensure save precedes get and delete
Andrew Phillips (aider)
2025-05-12 12:13:50 -03:00
-
09b1a16125
fix: replace .expect() with output status check
Andrew Phillips (aider)
2025-05-12 12:08:30 -03:00