João Marcos Bezerra
45a456f127
Merge branch 'master' into fix-zip-warning
2022-03-02 20:32:45 -03:00
Jan Christian Grünhage
abca371dcc
fix: remove single quotes from clap doc comments
...
Apparently, clap_complete doesn't properly escape single quotes in doc
comments, leading to broken shell completions for zsh. To circumvent
this, I've removed the single quote in the one place where it shouldn't
have been in the first place ("it's" vs "its", contraction vs possessive
pronoun), and replaced "it's" with "it is" in the other place.
Reference to upstream issue: https://github.com/clap-rs/clap/issues/1596
2022-02-13 10:36:06 +01:00
Vinícius Miguel
8b1cd18fb5
feat: don't allocate when possible in to_utf
, nice_directory_display
( #249 )
2022-02-05 12:31:20 -03:00
João M. Bezerra
26138e0f06
Reuse zip warning message
2022-02-03 18:00:02 -03:00
João Marcos Bezerra
1a1449a569
Merge branch 'master' into fix-zip-warning
2022-02-03 16:12:14 -03:00
João M. Bezerra
923a0601eb
Update compress_files docs
2022-02-03 16:02:48 -03:00
Vinícius Miguel
336fc97831
feat: allow ignoring hidden files and files matched by .gitignore files ( #245 )
2022-01-16 23:30:26 -03:00
Crypto-Spartan
e816ec1f8f
use rustfmt
2022-01-04 23:01:32 +00:00
Crypto-Spartan
fa2af20814
fix warning for zip with additional formats
2022-01-04 22:45:24 +00:00
João Marcos Bezerra
308b8f7e90
Merge pull request #225 from sigmaSd/list
...
List command: print file immediatly after it is processed
2021-12-20 13:11:15 -03:00
Crypto-Spartan
add6a595bd
Merge pull request #227 from Crypto-Spartan/question-continue
...
remove redundant user_wants_to_continue function
2021-12-09 18:21:32 -03:00
Nbiba Bedis
47462ba40d
Rebase
2021-12-09 09:34:07 +01:00
Nbiba Bedis
569f39c6c9
Use a new thread for listing
2021-12-09 09:28:44 +01:00
Nbiba Bedis
2adcfb364f
List command: print file immediatly after it iss processed
2021-12-09 08:24:49 +01:00
João Marcos Bezerra
fddc79628a
Merge pull request #215 from figsoda/snappy
...
support snappy format
2021-12-08 00:17:59 -03:00
João Marcos Bezerra
9e435b7026
Merge pull request #219 from Crypto-Spartan/fix-hint-suggestion
...
Fix the hint suggestion for compressing multiple files
2021-12-07 23:55:11 -03:00
João M. Bezerra
250d2e231c
Reformat code
2021-12-07 23:25:21 -03:00
Crypto-Spartan
7703d12af2
Fix the hint suggestion for compressing multiple files
2021-12-07 23:20:53 +00:00
Crypto-Spartan
17d9f17277
Ask user to continue after .zip warning is shown
2021-12-07 21:40:03 +00:00
Crypto-Spartan
f8acb61777
Fix inconsistent zip compression and decompression memory usage warnings
2021-12-07 21:01:43 +00: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
Nbiba Bedis
ba617fdea8
Make logging consistant for zip
2021-11-16 09:39:10 +01:00
Nbiba Bedis
a87b89073e
Document unwrap safety
2021-11-16 09:32:01 +01:00
Nbiba Bedis
4fc49b63cc
Assert that output_dir exists in decompress_fn as well
2021-11-16 09:23:40 +01:00
João Marcos Bezerra
1c52dc5ee4
Assert that output_dir exists
2021-11-15 13:05:46 -03:00
Nbiba Bedis
c0b37c117c
Add comment
2021-11-15 11:37:32 +01:00
Nbiba Bedis
9e41712f44
Smart unpack archives
2021-11-15 11:31:29 +01:00
João Marcos Bezerra
ed68e17eb8
Merge pull request #206 from sigmaSd/refactor
...
Simplify decompress function
2021-11-14 15:44:09 -03:00
Nbiba Bedis
b0ab145162
Add comment
2021-11-14 19:12:46 +01:00
Nbiba Bedis
11ee27ea25
Ask to overwrite if the user specified dir exists
2021-11-14 19:06:49 +01:00
João Marcos Bezerra
3b8333a063
Merge pull request #193 from sigmaSd/ub
...
Skip compressing file if its the same file as the output
2021-11-14 14:03:39 -03:00
Nbiba Bedis
85968ea841
Simplify decompress function
2021-11-14 17:59:40 +01:00
Nbiba Bedis
3e52eb6deb
use fs_err canonicalize
2021-11-14 07:21:54 +01:00
João Marcos Bezerra
92372813a5
Fix error with format infer
2021-11-14 02:14:51 -03:00
Anton Hermann
40cee89bab
Implement accessibility mode which reduces visual noise
2021-11-13 01:47:08 +01:00
Nbiba Bedis
28b512ae3f
Skip compressing file if its the same file as the output
2021-11-12 11:51:44 +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
d1d781dded
Clear path before creating a dir
2021-11-11 11:36:40 +02:00
João M. Bezerra
162e1c1259
Fix error message panic when cannot list non-archive files
2021-11-10 20:24:57 -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 Marcos Bezerra
1579a482e8
Fix typo
...
DeMorgan's laws apply to disjunctions, not implications.
2021-11-10 09:06:09 -03:00
João Marcos Bezerra
1026fa19fd
Merge pull request #154 from sigmaSd/infer
...
Infer file extension when decompressing
2021-11-10 06:40:54 -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
figsoda
dedd254ace
switch from lz4_flex to lzzzz, enable lz4 tests
2021-11-09 21:26:04 -05:00
João Marcos Bezerra
abf1d4e3e4
Readme update ( #161 )
...
* Updating badges
* Reformatted support table to be monospaced
* Add first benchmark to the readme
And fixed a typo
* Some readme rewording
* Removing readme redundant compression example
* Change badges to have squared corners
* readme: increase headers size by one
* Slight modifications to the README
* Specify dependencies and tweak some other stuff
* Add MSRV
Co-authored-by: Vinícius Miguel <36349314+vrmiguel@users.noreply.github.com>
2021-11-06 01:29:56 -04:00
João Marcos Bezerra
d1988b4ba2
Remove import comments
2021-11-04 01:08:09 -03:00