From 07864376504efde66c1e7b1b5185f84a531fe64c Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 20 Feb 2023 09:52:35 +0100 Subject: GitRepoRemote: Add getter for config snapshot --- src/buildtool/file_system/git_utils.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/buildtool/file_system/git_utils.hpp') diff --git a/src/buildtool/file_system/git_utils.hpp b/src/buildtool/file_system/git_utils.hpp index d301912a..68eb670b 100644 --- a/src/buildtool/file_system/git_utils.hpp +++ b/src/buildtool/file_system/git_utils.hpp @@ -33,6 +33,7 @@ struct git_object; struct git_remote; struct git_commit; struct git_tree_entry; +struct git_config; } constexpr std::size_t kWaitTime{2}; // time in ms between tries for git locks @@ -70,4 +71,6 @@ void commit_closer(gsl::owner commit); void tree_entry_closer(gsl::owner tree_entry); +void config_closer(gsl::owner cfg); + #endif // INCLUDED_SRC_BUILDTOOL_FILE_SYSTEM_GIT_UTILS_HPP -- cgit v1.2.3