summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/content_git_map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/root_maps/content_git_map.cpp')
-rw-r--r--src/other_tools/root_maps/content_git_map.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/other_tools/root_maps/content_git_map.cpp b/src/other_tools/root_maps/content_git_map.cpp
index 0c991ef1..7f0b30e0 100644
--- a/src/other_tools/root_maps/content_git_map.cpp
+++ b/src/other_tools/root_maps/content_git_map.cpp
@@ -31,12 +31,10 @@ namespace {
std::filesystem::path const& dst_dir) noexcept
-> std::optional<std::string> {
if (repo_type == "archive") {
- return ArchiveOps::ExtractArchive(
- ArchiveType::kArchiveTypeTar, archive, dst_dir);
+ return ArchiveOps::ExtractArchive(ArchiveType::Tar, archive, dst_dir);
}
if (repo_type == "zip") {
- return ArchiveOps::ExtractArchive(
- ArchiveType::kArchiveTypeZip, archive, dst_dir);
+ return ArchiveOps::ExtractArchive(ArchiveType::Zip, archive, dst_dir);
}
return "unrecognized repository type";
}