33 Commits

Author SHA1 Message Date
Antonios Barotsis
e2ac5c4c9b Make all info logs use the new system 2024-04-01 10:58:35 -03:00
misilelab
db0bc8a7d9 impl except test 2023-11-25 21:33:22 -03:00
Łukasz Krawiec
dade163243 added support for listing and decompressing .rar archives 2023-11-15 08:59:00 -03:00
Vinícius R. Miguel
2caeb1004c refac: add support for Windows in EscapedPathDisplay 2023-01-05 13:39:06 -03:00
Vinícius R. Miguel
0deb18289a refac: use BStr to display possibly non-UTF8 byte sequences 2023-01-05 12:46:29 -03:00
João M. Bezerra
e8d0914a01 improve error message when compressing folder with single-file formats 2022-10-17 00:03:44 -03:00
figsoda
13fab6d241 remove progress feature 2022-10-15 23:03:20 -04:00
João M. Bezerra
4d2ccf4873 create remove_file_or_dir util 2022-10-15 21:51:52 -03:00
figsoda
51855948f1 add OutputLine trait for performance improvements 2022-10-13 11:31:43 -04:00
figsoda
5dc8d3efed fix: apply clippy lints 2022-10-03 20:56:48 -04:00
João M. Bezerra
2e165e57cb fix rustdoc lint warnings 2022-06-05 12:52:20 -03:00
João M. Bezerra
14025c6816 remove use_small_heuristics = "Max" from rustfmt
and update edition to 2021
2022-06-04 13:06:52 -03:00
João Marcos Bezerra
9c3446924c
Merge pull request #224 from sigmaSd/sym
Ignore broken symlinks when compressing
2021-12-09 01:06:34 -03:00
Nbiba Bedis
734ffd4331 Compile on stable 2021-12-08 11:58:02 +01:00
figsoda
52a8acf2e1 support snappy format 2021-12-07 13:59:56 -05:00
Nbiba Bedis
0976970e8c Add progress bar for compressing/decompressing 2021-11-25 11:57:47 +01:00
João M. Bezerra
4e0dbeb85b Merge branch 'accessibility' 2021-11-24 23:39:00 -03:00
Anton Hermann
1030eb0de9 Improve accessibility code and comment decisions why some info is (in)accessible 2021-11-23 11:53:20 +01:00
João Marcos Bezerra
fe4b265d9f
Merge branch 'master' into infer2 2021-11-14 02:11:28 -03:00
Vinícius Rodrigues Miguel
afc8367230 Simplify (optimize?) several file inferring functions 2021-11-14 01:53:59 -03:00
Nbiba Bedis
08b2314d8f display xz when inferring lzma 2021-11-13 17:13:51 +01:00
Nbiba Bedis
0660c2fe59 Remove Lzip because its incorrect, and improve extention comparison 2021-11-13 09:46:08 +01:00
Anton Hermann
c1add95e70 Fix warnings in doc comments
Escape square brackets comments containing "[INFO]", "[WARNING]", "[ERROR]"

Suppress automatic link markup warning
2021-11-13 00:07:17 +01:00
Spyros Roum
c33d896743 Change clear_path to return Result<bool>
So `Ok(true)` means the path is clear while `Ok(false)` means the user doesn't want to overwrite
2021-11-11 15:58:51 +02:00
Spyros Roum
eb9a99fff3 Create util for clearing a path 2021-11-11 11:36:26 +02:00
João M. Bezerra
a531d44e2b Move colors module to it's own file 2021-11-10 09:55:44 -03:00
João M. Bezerra
d27e259b26 Reorganizing src/utils, by renaming submodules
And moving formatting stuff out of fs.rs
2021-11-10 09:51:26 -03:00
João M. Bezerra
cbc87866fa Fix zip magic numbers detection
And reworked detection for other formats as well
2021-11-10 06:34:05 -03:00
João M. Bezerra
16acb98b6e Early return when can't detect extension from magic numbers 2021-11-10 06:04:31 -03:00
João M. Bezerra
552096acf0 Minor import and module exporting changes 2021-11-10 06:03:46 -03:00
Nbiba Bedis
266cf6e27a Infer file extension when decompressing 2021-11-10 05:41:44 -03:00
Vinícius Miguel
43fb274956
Optimize strip_cur_dir (#167) 2021-11-05 23:49:35 -04:00
Vinícius Miguel
739a52f00e
Refactor utils into a module (#166) 2021-11-05 22:04:00 -04:00