From 66c964931d0a4fdb4d0257ff20a1d3bafe63c159 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 19 Jun 2023 17:39:24 +0200 Subject: ArchiveOps: Support unpacking tar.xz archives --- src/other_tools/utils/archive_ops.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (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 50110c18..22cf7e4b 100644 --- a/src/other_tools/utils/archive_ops.hpp +++ b/src/other_tools/utils/archive_ops.hpp @@ -29,7 +29,8 @@ enum class ArchiveType : size_t { kArchiveTypeZip, kArchiveTypeTar, kArchiveTypeTarGz, - kArchiveTypeTarBz2 + kArchiveTypeTarBz2, + kArchiveTypeTarXz }; /// \brief Class handling archiving and unarchiving operations via libarchive @@ -97,4 +98,4 @@ class ArchiveOps { -> std::optional; }; -#endif // INCLUDED_SRC_OTHER_TOOLS_UTILS_ARCHIVE_OPS_HPP \ No newline at end of file +#endif // INCLUDED_SRC_OTHER_TOOLS_UTILS_ARCHIVE_OPS_HPP -- cgit v1.2.3