Commit Graph

  • f7a53dfa6e refactor: move mode_get to modes/get module and update imports Andrew Phillips (aider) 2025-05-09 16:37:19 -03:00
  • a68be7905e refactor: remove unused imports in src/main.rs and src/modes/common.rs Andrew Phillips (aider) 2025-05-09 16:29:02 -03:00
  • ffa67db7b7 fix: add modes module declaration and common imports to resolve unresolved symbols Andrew Phillips (aider) 2025-05-09 16:25:32 -03:00
  • 01658b62b5 chore: remove unused utility functions Andrew Phillips (aider) 2025-05-09 16:22:18 -03:00
  • 331a971d3d refactor: Move common utility functions to src/modes/common.rs and update module structure Andrew Phillips (aider) 2025-05-09 16:20:54 -03:00
  • 7725e41883 Finished implementing --diff Andrew Phillips 2025-05-06 14:53:22 -03:00
  • 8b7d10e08b fix: declare stdout_a and stdout_b as mutable Andrew Phillips (aider) 2025-05-06 13:56:04 -03:00
  • d90d48cbf2 fix: move BufWriter creation inside threads for stdout_a and stdout_b Andrew Phillips (aider) 2025-05-06 13:54:15 -03:00
  • 088a5ccbad fix: move compression engine initialization into threads Andrew Phillips (aider) 2025-05-06 13:52:02 -03:00
  • a6d5db2a84 refactor: remove redundant compression engine initialization Andrew Phillips 2025-05-06 13:51:58 -03:00
  • 43eff88003 fix: remove invalid clone calls for BufWriter and Box<dyn CompressionEngine> Andrew Phillips (aider) 2025-05-06 13:47:34 -03:00
  • b20759b781 refactor: move compression engine copy calls to separate threads Andrew Phillips (aider) 2025-05-06 13:46:17 -03:00
  • ec8bc20373 feat: add debug logs to mode_diff function Andrew Phillips 2025-05-06 13:46:16 -03:00
  • 1852778f75 feat: pass file descriptors to diff command Andrew Phillips (aider) 2025-05-06 13:29:52 -03:00
  • 277038e7ad refactor: rename stdout_a and stdout_b variables for clarity Andrew Phillips 2025-05-06 13:26:11 -03:00
  • 655418d9c7 fix: resolve borrow errors in db and main modules Andrew Phillips (aider) 2025-05-06 13:18:08 -03:00
  • 96b10a926f fix: resolve unused variables and mutable issues Andrew Phillips (aider) 2025-05-06 12:44:14 -03:00
  • 34616d566d fix: import BufWriter from std::io Andrew Phillips (aider) 2025-05-06 12:41:17 -03:00
  • dfb765b96c fix: correct file descriptor handling in diff command Andrew Phillips (aider) 2025-05-06 12:05:58 -03:00
  • 0f98221a86 refactor: refactor diff mode to correctly fork and handle decompressed data Andrew Phillips (aider) 2025-05-06 12:04:27 -03:00
  • 1456c45bd3 fix: add missing Read and Write trait imports Andrew Phillips (aider) 2025-05-06 11:53:27 -03:00
  • b32d49446f style: remove unused std::io imports Andrew Phillips (aider) 2025-05-06 11:52:14 -03:00
  • 8026742a56 refactor: remove redundant copy method from CompressionEngine implementations Andrew Phillips (aider) 2025-05-06 11:50:32 -03:00
  • d83d5b4781 fix: import std::io for undeclared crate or module io Andrew Phillips (aider) 2025-05-06 11:47:42 -03:00
  • 0d523aa969 refactor: add copy method to CompressionEngineProgram Andrew Phillips (aider) 2025-05-06 11:42:14 -03:00
  • 054291383c refactor: add copy method to CompressionEngine and update mode_diff to use it Andrew Phillips (aider) 2025-05-06 11:39:44 -03:00
  • 4a09c8fd72 build: add nix dependency Andrew Phillips (aider) 2025-05-06 11:12:52 -03:00
  • 0901b6fff8 build: add nix crate and update main.rs Andrew Phillips (aider) 2025-05-06 11:10:12 -03:00
  • 2fb50fca48 fix: add FromRawFd import and use it to create File instances Andrew Phillips (aider) 2025-05-06 11:07:29 -03:00
  • 3cd7f1c2a8 feat: stream item contents directly into diff command without temp files Andrew Phillips (aider) 2025-05-06 11:02:33 -03:00
  • 61b41a1852 feat: implement mode_diff function with diff command Andrew Phillips (aider) 2025-05-06 11:00:36 -03:00
  • c1e04fc9c5 feat: add diff mode to compare items Andrew Phillips 2025-05-06 11:00:35 -03:00
  • f39a781caf Ignore aider files Andrew Phillips 2025-05-06 10:51:03 -03:00
  • 6e4199867c Updated deps Andrew Phillips 2024-02-28 19:21:14 +00:00
  • ae9ea3ec03 Show file magic in --info, currently uses the file command Andrew Phillips 2024-02-28 19:20:30 +00:00
  • 982f74f27b No need to clone here Andrew Phillips 2024-02-28 19:19:01 +00:00
  • 2cc33a7e3e Show the timezone in --info Andrew Phillips 2024-02-28 19:18:46 +00:00
  • 57641c3b53 Make -H for human readable Andrew Phillips 2024-02-28 19:18:20 +00:00
  • 4f893d565b Fix issues with modulefile Andrew Phillips 2024-02-26 14:53:33 -04:00
  • 9623274c2b Only show one decimal place for human mode Andrew Phillips 2024-02-26 18:52:46 +00:00
  • 3d2b24f4d9 Make human size units optional Andrew Phillips 2024-02-26 18:32:55 +00:00
  • d9f50d2ed4 Add modulefile Andrew Phillips 2024-02-26 17:59:06 +00:00
  • 0ea7e18180 Put the binary in bin Andrew Phillips 2024-02-26 13:39:34 -04:00
  • c149eb5a7d Fix capturing the command in more places Andrew Phillips 2023-09-21 15:04:12 +00:00
  • 359129f5f8 Update versions Andrew Phillips 2023-09-20 19:05:46 +00:00
  • da61a3b635 Compression can have -c back Andrew Phillips 2023-09-20 19:05:17 +00:00
  • 9ea9b46772 Make return Ok(()) explicit Andrew Phillips 2023-09-20 19:04:54 +00:00
  • f425e0df66 If a size is mssing for an item, --update will set it Andrew Phillips 2023-09-20 19:04:01 +00:00
  • d189f27db8 Set KEEP_LIST_FORMAT in the shell init function Andrew Phillips 2023-09-20 19:02:47 +00:00
  • fdc4544068 Add default traits and open function to CompressionEngine Andrew Phillips 2023-09-20 19:01:50 +00:00
  • 1fe276d110 Whitespace Andrew Phillips 2023-09-20 18:59:43 +00:00
  • 97670b1860 Switch --list-meta to --list-format Andrew Phillips 2023-09-20 18:58:58 +00:00
  • c100ef9436 Add bash profile Andrew Phillips 2023-09-18 14:29:38 +00:00
  • 292c0080d6 Rename keep-rust to keep (part 2) Andrew Phillips 2023-09-18 14:29:24 +00:00
  • 26e22d113e Rename keep-rust to keep Andrew Phillips 2023-09-18 14:29:07 +00:00
  • cf1f5daa16 Use the clean format for --list Andrew Phillips 2023-09-18 14:28:47 +00:00
  • 20effb84c4 Formatting Andrew Phillips 2023-09-18 14:28:12 +00:00
  • 49886b953a Add ability to specify which meta columns are listed Andrew Phillips 2023-09-18 14:27:36 +00:00
  • 2e1afbd7d7 Get meta keys/values from env when using --save Andrew Phillips 2023-09-18 14:26:36 +00:00
  • 96eb309c3e Add --info Andrew Phillips 2023-09-18 14:26:08 +00:00
  • e389617207 Whitespace Andrew Phillips 2023-09-08 17:18:16 +00:00
  • b50c75f007 Get the last item when using --get with no ids/tags/meta. Andrew Phillips 2023-09-08 17:17:01 +00:00
  • 4fad903c94 Don't wrap args.item.meta with option Andrew Phillips 2023-09-06 14:22:44 +00:00
  • 6f55c2ab81 Make --compress not conflict Andrew Phillips 2023-09-06 14:21:49 +00:00
  • 2119f7e226 Update deps Andrew Phillips 2023-09-06 13:40:05 +00:00
  • 388d2a8666 Get BUFSIZ from libc Andrew Phillips 2023-09-06 13:35:55 +00:00
  • 469d74888d Don't need empty string Andrew Phillips 2023-09-02 23:35:22 +00:00
  • c04a334926 Whitespace Andrew Phillips 2023-09-02 23:34:57 +00:00
  • 013ba99e02 Update error message Andrew Phillips 2023-09-02 23:34:45 +00:00
  • b74ba32f68 Stylistic update Andrew Phillips 2023-09-02 23:22:26 +00:00
  • 8b51210dc9 Rename CompressionProgram to CompresionEngineProgram Andrew Phillips 2023-09-02 23:22:03 +00:00
  • 0a6cefc99e Add internal gzip compression Andrew Phillips 2023-09-02 23:21:33 +00:00
  • d9d47e97a9 Add flate2 Andrew Phillips 2023-09-01 21:01:22 +00:00
  • cf352af7d5 Refactor compression into multiple files Andrew Phillips 2023-09-01 21:01:06 +00:00
  • 6222748901 Make tag/id error messages a bit clear Andrew Phillips 2023-09-01 15:39:03 +00:00
  • 5e539ac2a7 Add LZ4 as a built in compression engine (part 2) Andrew Phillips 2023-09-01 15:38:46 +00:00
  • 3d91385b42 Allow deleteing more than one item at once Andrew Phillips 2023-09-01 15:38:05 +00:00
  • 0ac453408f Add LZ4 as a built in compression engine Andrew Phillips 2023-09-01 15:37:17 +00:00
  • 53382246ac Remove unused deps Andrew Phillips 2023-09-01 15:36:21 +00:00
  • 5910ef0b4a Add script to build static binary and put it in ./ Andrew Phillips 2023-08-31 19:39:23 +00:00
  • 49a77f9090 Most of basic functionality implemented Andrew Phillips 2023-08-31 19:38:59 +00:00
  • b9bf5a831e Initial commit Andrew Phillips 2023-07-25 17:33:50 -03:00