diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-02-20 09:52:35 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-03-03 16:20:52 +0100 |
commit | 07864376504efde66c1e7b1b5185f84a531fe64c (patch) | |
tree | 62afac72f8f5828e7e2a41c838df9bdd221225e3 /src/buildtool/file_system/git_utils.hpp | |
parent | 6dcc58ed7745f2446107dce8c1cf69530c866dc1 (diff) | |
download | justbuild-07864376504efde66c1e7b1b5185f84a531fe64c.tar.gz |
GitRepoRemote: Add getter for config snapshot
Diffstat (limited to 'src/buildtool/file_system/git_utils.hpp')
-rw-r--r-- | src/buildtool/file_system/git_utils.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<git_commit*> commit); void tree_entry_closer(gsl::owner<git_tree_entry*> tree_entry); +void config_closer(gsl::owner<git_config*> cfg); + #endif // INCLUDED_SRC_BUILDTOOL_FILE_SYSTEM_GIT_UTILS_HPP |