summaryrefslogtreecommitdiff
path: root/src/other_tools/utils/archive_ops.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/utils/archive_ops.hpp')
-rw-r--r--src/other_tools/utils/archive_ops.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/other_tools/utils/archive_ops.hpp b/src/other_tools/utils/archive_ops.hpp
index 6ad5b7c4..74fcf39c 100644
--- a/src/other_tools/utils/archive_ops.hpp
+++ b/src/other_tools/utils/archive_ops.hpp
@@ -25,7 +25,14 @@ using archive = struct archive;
using archive_entry = struct archive_entry;
}
-enum class ArchiveType : size_t { Zip, Tar, TarGz, TarBz2, TarXz };
+enum class ArchiveType : size_t {
+ Zip,
+ Tar, // uncompressed
+ TarGz,
+ TarBz2,
+ TarXz,
+ TarAuto, // autodetect tarball-type archives
+};
/// \brief Class handling archiving and unarchiving operations via libarchive
class ArchiveOps {