From 2bd069cdecb5371d906f8df9f5fb36f308d6296f Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 12 Mar 2024 18:23:35 +0100 Subject: Move storage-aware tmpdir creation to config ... as the fs_utils have a lot more dependencies making them usable in less places. Moreover, this function also serves to shape the layout of the local build root and hence is more appropriately placed in the config anyway. --- src/buildtool/storage/fs_utils.hpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/buildtool/storage/fs_utils.hpp') diff --git a/src/buildtool/storage/fs_utils.hpp b/src/buildtool/storage/fs_utils.hpp index 6e8f640b..e24f50a3 100644 --- a/src/buildtool/storage/fs_utils.hpp +++ b/src/buildtool/storage/fs_utils.hpp @@ -21,7 +21,6 @@ #include "src/buildtool/common/user_structs.hpp" #include "src/buildtool/file_system/symlinks_map/pragma_special.hpp" -#include "src/utils/cpp/tmp_dir.hpp" /* Utilities related to CAS and paths therein */ @@ -33,11 +32,6 @@ namespace StorageUtils { std::string const& repo_url) noexcept -> std::filesystem::path; -/// \brief Create a tmp directory with controlled lifetime for specific -/// operations (archive, zip, file, distdir checkouts; fetch; update). -[[nodiscard]] auto CreateTypedTmpDir(std::string const& type) noexcept - -> TmpDirPtr; - /// \brief Get the path to the file storing the tree id associated with /// a given commit. [[nodiscard]] auto GetCommitTreeIDFile(std::string const& commit) noexcept -- cgit v1.2.3