diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-08-10 15:44:16 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-08-14 15:09:11 +0200 |
commit | a9694ba06acc9ea225f83bbd31f93cbedec4ff0c (patch) | |
tree | a6ae896c965c6d99052167bba3ccbd22948730ca /src/other_tools/utils/archive_ops.hpp | |
parent | aee1a0c7df5b86c08c4ac3188b3635f8f9879129 (diff) | |
download | justbuild-a9694ba06acc9ea225f83bbd31f93cbedec4ff0c.tar.gz |
ArchiveOps: reduce verbosity in archive type enum
Diffstat (limited to 'src/other_tools/utils/archive_ops.hpp')
-rw-r--r-- | src/other_tools/utils/archive_ops.hpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/other_tools/utils/archive_ops.hpp b/src/other_tools/utils/archive_ops.hpp index 22cf7e4b..6ad5b7c4 100644 --- a/src/other_tools/utils/archive_ops.hpp +++ b/src/other_tools/utils/archive_ops.hpp @@ -25,13 +25,7 @@ using archive = struct archive; using archive_entry = struct archive_entry; } -enum class ArchiveType : size_t { - kArchiveTypeZip, - kArchiveTypeTar, - kArchiveTypeTarGz, - kArchiveTypeTarBz2, - kArchiveTypeTarXz -}; +enum class ArchiveType : size_t { Zip, Tar, TarGz, TarBz2, TarXz }; /// \brief Class handling archiving and unarchiving operations via libarchive class ArchiveOps { |