From 5bc6265b2ffe43370b4cddd0a9e4c09b059ef131 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Wed, 26 Jun 2024 16:07:58 +0200 Subject: Pass StorageConfig to git_repo and git_repo_remote --- src/buildtool/file_system/git_repo.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/buildtool/file_system/git_repo.hpp') diff --git a/src/buildtool/file_system/git_repo.hpp b/src/buildtool/file_system/git_repo.hpp index d43a85ec..2a4a4238 100644 --- a/src/buildtool/file_system/git_repo.hpp +++ b/src/buildtool/file_system/git_repo.hpp @@ -26,6 +26,7 @@ #include "src/buildtool/common/bazel_types.hpp" #include "src/buildtool/file_system/git_cas.hpp" #include "src/buildtool/file_system/git_types.hpp" +#include "src/buildtool/storage/config.hpp" #include "src/utils/cpp/expected.hpp" extern "C" { @@ -293,6 +294,7 @@ class GitRepo { /// Returns a success flag. /// It guarantees the logger is called exactly once with fatal if failure. [[nodiscard]] auto LocalFetchViaTmpRepo( + StorageConfig const& storage_config, std::string const& repo_path, std::optional const& branch, anon_logger_ptr const& logger) noexcept -> bool; -- cgit v1.2.3