From c1a58d73d2fa21f9c692bbe3895443d3afc43d1d Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 27 Sep 2023 12:47:43 +0200 Subject: Decoupling symlinks map and CAS utilities from just-mr This is required in order to make them available to 'just serve' in a minimal just installation. --- src/other_tools/ops_maps/git_update_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/other_tools/ops_maps/git_update_map.cpp') diff --git a/src/other_tools/ops_maps/git_update_map.cpp b/src/other_tools/ops_maps/git_update_map.cpp index cc40aef6..157d13bb 100644 --- a/src/other_tools/ops_maps/git_update_map.cpp +++ b/src/other_tools/ops_maps/git_update_map.cpp @@ -16,9 +16,9 @@ #include "fmt/core.h" #include "src/buildtool/execution_api/local/config.hpp" +#include "src/buildtool/storage/fs_utils.hpp" #include "src/other_tools/just_mr/progress_reporting/progress.hpp" #include "src/other_tools/just_mr/progress_reporting/statistics.hpp" -#include "src/other_tools/just_mr/utils.hpp" #include "src/utils/cpp/tmp_dir.hpp" auto CreateGitUpdateMap(GitCASPtr const& git_cas, @@ -39,7 +39,7 @@ auto CreateGitUpdateMap(GitCASPtr const& git_cas, /*fatal=*/true); return; } - auto tmp_dir = JustMR::Utils::CreateTypedTmpDir("update"); + auto tmp_dir = StorageUtils::CreateTypedTmpDir("update"); if (not tmp_dir) { (*logger)(fmt::format("Failed to create commit update tmp dir for " "remote {}", -- cgit v1.2.3