15 Commits

Author SHA1 Message Date
Antonios Barotsis
93752d5fb5 fmt 2024-04-01 10:58:35 -03:00
Antonios Barotsis
e2ac5c4c9b Make all info logs use the new system 2024-04-01 10:58:35 -03:00
João M. Bezerra
a26d3d34ce Improve hints when decompressing with no extension
refactored `check_missing_formats_when_decompressing` to be aware of
missing extensions and unsupported extensions in order to give a more
detailed error message
2023-09-17 20:05:54 -03:00
João M. Bezerra
c7f69194e8 give a less ambiguous warning for sniff failure
Ouch check for file signatures to be sure that the file indeed has the
correct format as inferred by extension, when that fails, we output a
message explaining that Ouch wasn't able to confirm the format, however,
previous message was confusing with the other extension detection ones
2023-09-17 19:06:14 -03: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
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
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
6710987b38 move check_for_non_archive_formats to check.rs 2023-02-03 02:24:07 -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