From d95a7a4bb8d00a2e994bee82f4f64b2ed1d9ec12 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 14 Aug 2023 11:05:34 +0200 Subject: just-mr archives: Add 7zip support via autodetection option Similarly to tarballs, an autodetection option for zip-like archives is added to enable a unified handling of both traditional zip and 7zip formats. Thus, for "zip" archives just-mr uses now this autodetection option. --- src/other_tools/utils/archive_ops.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/other_tools/utils/archive_ops.hpp') diff --git a/src/other_tools/utils/archive_ops.hpp b/src/other_tools/utils/archive_ops.hpp index 94013f30..773115bc 100644 --- a/src/other_tools/utils/archive_ops.hpp +++ b/src/other_tools/utils/archive_ops.hpp @@ -28,7 +28,8 @@ using archive_entry = struct archive_entry; enum class ArchiveType : size_t { Zip, _7Zip, - Tar, // uncompressed + ZipAuto, // autodetect zip-like archives + Tar, // uncompressed TarGz, TarBz2, TarXz, -- cgit v1.2.3