summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_repo.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-26 16:07:58 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-07-05 12:58:35 +0200
commit5bc6265b2ffe43370b4cddd0a9e4c09b059ef131 (patch)
tree63619c3d43f97c4ffa16feb9094fc8631620b164 /src/buildtool/file_system/git_repo.hpp
parent3440784e94de51c95d3dcca8509f8e46b4722ee6 (diff)
downloadjustbuild-5bc6265b2ffe43370b4cddd0a9e4c09b059ef131.tar.gz
Pass StorageConfig to git_repo and git_repo_remote
Diffstat (limited to 'src/buildtool/file_system/git_repo.hpp')
-rw-r--r--src/buildtool/file_system/git_repo.hpp2
1 files changed, 2 insertions, 0 deletions
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<std::string> const& branch,
anon_logger_ptr const& logger) noexcept -> bool;