Commit Graph

1025 Commits

Author SHA1 Message Date
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)
1456c45bd3 fix: add missing Read and Write trait imports 2025-05-06 11:53:27 -03:00
Andrew Phillips (aider)
b32d49446f style: remove unused std::io imports 2025-05-06 11:52:14 -03:00
Andrew Phillips (aider)
8026742a56 refactor: remove redundant copy method from CompressionEngine implementations 2025-05-06 11:50:32 -03:00
Andrew Phillips (aider)
d83d5b4781 fix: import std::io for undeclared crate or module io 2025-05-06 11:47:42 -03:00
Andrew Phillips (aider)
0d523aa969 refactor: add copy method to CompressionEngineProgram 2025-05-06 11:42:14 -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)
4a09c8fd72 build: add nix dependency 2025-05-06 11:12:52 -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
f39a781caf Ignore aider files 2025-05-06 10:51:03 -03:00
Andrew Phillips
6e4199867c Updated deps 2024-02-28 19:21:14 +00: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
Andrew Phillips
57641c3b53 Make -H for human readable 2024-02-28 19:18:20 +00:00
Andrew Phillips
4f893d565b Fix issues with modulefile 2024-02-26 14:53:35 -04:00
Andrew Phillips
9623274c2b Only show one decimal place for human mode 2024-02-26 18:52:46 +00:00
Andrew Phillips
3d2b24f4d9 Make human size units optional 2024-02-26 18:32:55 +00:00
Andrew Phillips
d9f50d2ed4 Add modulefile 2024-02-26 17:59:06 +00:00
Andrew Phillips
0ea7e18180 Put the binary in bin 2024-02-26 13:39:34 -04:00
Andrew Phillips
c149eb5a7d Fix capturing the command in more places 2023-09-21 15:04:12 +00:00
Andrew Phillips
359129f5f8 Update versions 2023-09-20 19:05:46 +00:00
Andrew Phillips
da61a3b635 Compression can have -c back 2023-09-20 19:05:17 +00:00
Andrew Phillips
9ea9b46772 Make return Ok(()) explicit 2023-09-20 19:04:54 +00:00
Andrew Phillips
f425e0df66 If a size is mssing for an item, --update will set it 2023-09-20 19:04:01 +00:00
Andrew Phillips
d189f27db8 Set KEEP_LIST_FORMAT in the shell init function 2023-09-20 19:02:47 +00:00
Andrew Phillips
fdc4544068 Add default traits and open function to CompressionEngine 2023-09-20 19:01:50 +00:00
Andrew Phillips
1fe276d110 Whitespace 2023-09-20 18:59:43 +00:00
Andrew Phillips
97670b1860 Switch --list-meta to --list-format 2023-09-20 18:58:58 +00:00
Andrew Phillips
c100ef9436 Add bash profile 2023-09-18 14:29:38 +00:00
Andrew Phillips
292c0080d6 Rename keep-rust to keep (part 2) 2023-09-18 14:29:24 +00:00
Andrew Phillips
26e22d113e Rename keep-rust to keep 2023-09-18 14:29:07 +00:00
Andrew Phillips
cf1f5daa16 Use the clean format for --list 2023-09-18 14:28:47 +00:00
Andrew Phillips
20effb84c4 Formatting 2023-09-18 14:28:12 +00:00