diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-06-19 17:39:24 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-06-20 14:18:23 +0200 |
commit | 66c964931d0a4fdb4d0257ff20a1d3bafe63c159 (patch) | |
tree | 9791ae1ef35f45af81aa11f05beee9440735fe18 /src/other_tools/utils/archive_ops.hpp | |
parent | 07ded51a0dda46e9b47b7dc0921ab0f2d44e8a58 (diff) | |
download | justbuild-66c964931d0a4fdb4d0257ff20a1d3bafe63c159.tar.gz |
ArchiveOps: Support unpacking tar.xz archives
Diffstat (limited to 'src/other_tools/utils/archive_ops.hpp')
-rw-r--r-- | src/other_tools/utils/archive_ops.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
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<std::string>; }; -#endif // INCLUDED_SRC_OTHER_TOOLS_UTILS_ARCHIVE_OPS_HPP
\ No newline at end of file +#endif // INCLUDED_SRC_OTHER_TOOLS_UTILS_ARCHIVE_OPS_HPP |