figsoda
40b0b7b364
fix deprecation warning
2023-03-11 16:33:42 -05:00
figsoda
732159b662
fixup outdated comment for check_mime_type
2023-02-06 21:13:06 -05:00
João M. Bezerra
8102260da4
simplify check_mime_type
2023-02-06 20:56:46 -03:00
figsoda
045ed5d72e
make mime sniffing consistent for list and decompress
2023-02-06 12:59:16 -05:00
Orhun Parmaksız
a2c894d935
Merge branch 'main' into feat/add_ls_alias
2023-02-05 00:54:20 +03:00
Orhun Parmaksız
c88d121ecc
Add ls
as an alternative alias for listing
2023-02-05 00:17:36 +03:00
João M. Bezerra
99d9c09fb7
refac: check_invalid_compression_with_non_archive_format
2023-02-03 02:24:07 -03:00
João M. Bezerra
1f4eba2bcb
separate function check_invalid_compression_with_non_archive_format
2023-02-03 02:24:07 -03:00
João M. Bezerra
93daa7b929
separate function check_first_format_when_compressing
2023-02-03 02:24:07 -03:00
João M. Bezerra
f33c9c0f39
separate function check_missing_formats_when_decompressing
2023-02-03 02:24:07 -03:00
João M. Bezerra
db62f1c534
--help
: add .sz
to list of supported formats
2023-02-03 02:24:07 -03:00
João M. Bezerra
3748e1d31e
add #![warn(missing_docs)]
to check.rs
2023-02-03 02:24:07 -03:00
João M. Bezerra
fc8bc82296
separate function check_archive_formats_position
2023-02-03 02:24:07 -03:00
João M. Bezerra
54ee52610a
fix rustdoc warnings
2023-02-03 02:24:07 -03:00
João M. Bezerra
6710987b38
move check_for_non_archive_formats
to check.rs
2023-02-03 02:24:07 -03:00
João M. Bezerra
b938dc014c
move build_archive_file_suggestion
to extension.rs
2023-02-03 02:24:06 -03:00
João M. Bezerra
7f763ff500
move module tests
to end of file
2023-02-03 01:19:34 -03:00
João M. Bezerra
aad55e6102
move check_mime_type
to check.rs
2023-02-03 01:19:32 -03:00
João M. Bezerra
d2db26a59d
create check.rs
2023-02-03 01:17:35 -03:00
João M. Bezerra
5b99f434c3
rename Opts
to CliArgs
2023-02-03 01:17:33 -03:00
figsoda
58da7dbf34
always use zip64
2023-01-31 18:42:32 -05:00
figsoda
634978fea5
Merge branch 'main' into large
2023-01-31 18:08:24 -05:00
João Marcos
bc78e64739
Merge pull request #355 from figsoda/ext
...
fix handling of unknown extensions
2023-01-31 19:57:05 -03:00
figsoda
fe464213b3
fix typos
2023-01-31 14:21:19 -05:00
figsoda
2238a20f0f
fix handling of unknown extensions
2023-01-31 10:57:07 -05:00
figsoda
50573f9d91
zip: fix compression of files larger than 4GB
2023-01-31 10:48:48 -05:00
figsoda
2d5dc06a4f
multi-threaded snap compression using gzp
2023-01-30 19:36:20 -05:00
figsoda
5abdd5fc96
multi-threaded gzip compression using gzp
2023-01-30 19:36:20 -05:00
João Marcos Bezerra
4c53bde44d
Merge branch 'main' into remove-extension-display-implementation
2023-01-10 19:13:44 -03:00
João Marcos Bezerra
46731c0798
replace code that refers to .lz isntead of .lzma ( #344 )
2023-01-10 12:21:46 -03:00
João M. Bezerra
73cff04eb5
make some extension items private
2023-01-10 04:35:24 -03:00
João M. Bezerra
752ed72a91
remove incorrect Display implementation
2023-01-10 04:35:03 -03:00
figsoda
5a3bac67c9
add --format option
2023-01-07 14:57:39 -05:00
figsoda
f52254c91e
refactor list command
2023-01-05 23:18:40 -05:00
Vinícius R. Miguel
23e33412a4
Decompress files in parallel
2023-01-05 21:22:38 -03:00
figsoda
c7165fb52c
avoid directly indexing when possible
2023-01-05 15:10:22 -05:00
figsoda
e06b2c8635
apply clippy suggestions
2023-01-05 14:23:37 -05:00
Vinícius R. Miguel
3bb0e57ed4
Stop keeping track of the names of unpacked files
2023-01-05 15:52:21 -03:00
Vinícius R. Miguel
d99266e1ce
Use ubyte
instead of humansize
2023-01-05 14:49:46 -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
Vinícius Miguel
9854285c38
listing: slight refactor when ensuring archive-only inputs ( #331 )
2023-01-05 02:37:18 -03:00
figsoda
a9f2e614ed
improve extension parsing logic
2023-01-02 22:15:00 -05:00
João M. Bezerra
3f3ee9b87f
accept inserting flags in any position
2022-12-24 03:18:41 -03:00
afm
71026287a3
flag: q instead of Q
...
Co-authored-by: João Marcos Bezerra <marcospb19@hotmail.com>
2022-12-18 23:32:12 -03:00
a-moreira
0ceb84d5cf
better args order, fmt
2022-12-18 22:56:13 -03:00
a-moreira
e26323bd99
add cli option to (de)compress quietly
2022-12-18 22:49:37 -03:00
a-moreira
3e43f9d7e5
allow ouch to decompress archive into existing folder
2022-12-10 19:36:28 -03:00
João M. Bezerra
c737956a4e
check for EOF when asking questions
...
when invoking Ouch from shell scripts, it is likely that questions will
be left unanswered with EOF, this commit fixes Ouch interpreting EOF as
Yes in Y/N questions
2022-11-23 00:43:53 -03:00
figsoda
0ada885ced
simplify logic
2022-10-17 09:20:13 -04:00