Andrew Phillips (aider)
7292972a6d
fix: move mode_info function to correct module
2025-05-10 12:21:56 -03:00
Andrew Phillips (aider)
c1f3920888
fix: correct search/replace block for mode_info function
...
The search block was missing preceding lines from the previous function, causing a mismatch. The fix includes the full context from the end of the prior function up to the mode_info function definition to ensure exact matching.
2025-05-10 12:20:51 -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)
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)
520bb00927
fix: resolve imports and remove unused ones
2025-05-10 11:40:43 -03:00
Andrew Phillips (aider)
d818358860
refactor: move mode_save to dedicated save module
2025-05-10 10:10:27 -03:00
Andrew Phillips
9feec61759
style: reorder imports and reformat code for consistency
2025-05-10 10:06:33 -03:00
Andrew Phillips (aider)
c936326ac3
fix: Remove unused strum::IntoEnumIterator import
2025-05-10 10:04:39 -03:00
Andrew Phillips
e298438f53
chore: remove unused CompressionEngineProgram import
2025-05-10 10:04:22 -03:00
Andrew Phillips
3a80780ee9
refactor: remove mode_status function
2025-05-10 10:02:48 -03:00
Andrew Phillips (aider)
9d4c59d0b5
refactor: move mode_status to src/modes/status.rs
2025-05-10 09:19:54 -03:00
Andrew Phillips
9bc4fcd484
refactor: remove mode_update function and associated logic
2025-05-10 09:12:10 -03:00
Andrew Phillips (aider)
dd79ebe96c
refactor: move mode_update to src/modes/update.rs
2025-05-10 08:44:49 -03:00
Andrew Phillips (aider)
93d06b4429
refactor: Move mode_delete function to src/modes/delete.rs
2025-05-10 08:37:03 -03:00
Andrew Phillips (aider)
b894eab29c
fix: remove unused import of get_engine
2025-05-10 08:33:00 -03:00
Andrew Phillips
bb04d7ca0b
refactor: remove mode_get function
2025-05-10 08:31:53 -03:00
Andrew Phillips (aider)
bc0875e304
fix: remove unused imports and make Args public
2025-05-10 08:24:36 -03:00
Andrew Phillips (aider)
ddd25b3a1d
fix: add missing get_engine import in main.rs
2025-05-10 08:22:06 -03:00
Andrew Phillips (aider)
008899f6ab
fix: resolve missing functions and unused imports
...
The commit adds `pub` to `mode_get` for visibility and removes unused imports in `src/modes/get.rs`, while adding the missing `get_engine` import.
2025-05-09 16:39:41 -03:00
Andrew Phillips (aider)
e134c73eda
refactor: fix get_engine module import in mode_get
2025-05-09 16:38:06 -03:00
Andrew Phillips (aider)
f7a53dfa6e
refactor: move mode_get to modes/get module and update imports
2025-05-09 16:37:19 -03:00
Andrew Phillips (aider)
a68be7905e
refactor: remove unused imports in src/main.rs and src/modes/common.rs
2025-05-09 16:29:02 -03:00
Andrew Phillips (aider)
ffa67db7b7
fix: add modes module declaration and common imports to resolve unresolved symbols
2025-05-09 16:25:32 -03:00
Andrew Phillips (aider)
01658b62b5
chore: remove unused utility functions
2025-05-09 16:22:18 -03:00
Andrew Phillips (aider)
331a971d3d
refactor: Move common utility functions to src/modes/common.rs and update module structure
2025-05-09 16:20:54 -03:00
Andrew Phillips
7725e41883
Finished implementing --diff
2025-05-06 14:53:22 -03:00
Andrew Phillips (aider)
8b7d10e08b
fix: declare stdout_a and stdout_b as mutable
2025-05-06 13:56:04 -03:00
Andrew Phillips (aider)
d90d48cbf2
fix: move BufWriter creation inside threads for stdout_a and stdout_b
2025-05-06 13:54:15 -03:00
Andrew Phillips (aider)
088a5ccbad
fix: move compression engine initialization into threads
2025-05-06 13:52:02 -03:00
Andrew Phillips
a6d5db2a84
refactor: remove redundant compression engine initialization
2025-05-06 13:51:58 -03:00
Andrew Phillips (aider)
43eff88003
fix: remove invalid clone calls for BufWriter and Box<dyn CompressionEngine>
2025-05-06 13:47:34 -03:00
Andrew Phillips (aider)
b20759b781
refactor: move compression engine copy calls to separate threads
2025-05-06 13:46:17 -03:00
Andrew Phillips
ec8bc20373
feat: add debug logs to mode_diff function
2025-05-06 13:46:16 -03:00
Andrew Phillips (aider)
1852778f75
feat: pass file descriptors to diff command
2025-05-06 13:29:52 -03:00
Andrew Phillips
277038e7ad
refactor: rename stdout_a and stdout_b variables for clarity
2025-05-06 13:26:11 -03:00
Andrew Phillips (aider)
655418d9c7
fix: resolve borrow errors in db and main modules
2025-05-06 13:18:08 -03:00
Andrew Phillips (aider)
96b10a926f
fix: resolve unused variables and mutable issues
2025-05-06 12:44:14 -03:00
Andrew Phillips (aider)
34616d566d
fix: import BufWriter from std::io
2025-05-06 12:41:17 -03:00
Andrew Phillips (aider)
dfb765b96c
fix: correct file descriptor handling in diff command
2025-05-06 12:05:58 -03:00
Andrew Phillips (aider)
0f98221a86
refactor: refactor diff mode to correctly fork and handle decompressed data
2025-05-06 12:04:27 -03:00
Andrew Phillips (aider)
054291383c
refactor: add copy method to CompressionEngine and update mode_diff to use it
2025-05-06 11:39:44 -03:00
Andrew Phillips (aider)
0901b6fff8
build: add nix crate and update main.rs
2025-05-06 11:10:12 -03:00
Andrew Phillips (aider)
2fb50fca48
fix: add FromRawFd import and use it to create File instances
2025-05-06 11:07:29 -03:00
Andrew Phillips (aider)
3cd7f1c2a8
feat: stream item contents directly into diff command without temp files
2025-05-06 11:02:33 -03:00
Andrew Phillips (aider)
61b41a1852
feat: implement mode_diff function with diff command
2025-05-06 11:00:36 -03:00
Andrew Phillips
c1e04fc9c5
feat: add diff mode to compare items
2025-05-06 11:00:35 -03:00
Andrew Phillips
ae9ea3ec03
Show file magic in --info, currently uses the file command
2024-02-28 19:20:30 +00:00
Andrew Phillips
982f74f27b
No need to clone here
2024-02-28 19:19:01 +00:00
Andrew Phillips
2cc33a7e3e
Show the timezone in --info
2024-02-28 19:18:46 +00:00