diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-12-04 14:59:34 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-01-13 16:22:13 +0100 |
commit | 0ddce95c7ed1dd3dd0a5df31138b58a87e11821b (patch) | |
tree | d2d80d7693f7c7e681de695a8dd854bf8b34ef82 /src/buildtool/file_system/git_repo.hpp | |
parent | 150d84062bdfb21c9edd3b93c3595fea7107b15d (diff) | |
download | justbuild-0ddce95c7ed1dd3dd0a5df31138b58a87e11821b.tar.gz |
GitCAS: remove friend GitRepo
...and access internal state via getters.
(cherry-picked from ca952159e778f0ed927082832a195842f6229a94)
Diffstat (limited to 'src/buildtool/file_system/git_repo.hpp')
-rw-r--r-- | src/buildtool/file_system/git_repo.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/buildtool/file_system/git_repo.hpp b/src/buildtool/file_system/git_repo.hpp index 223dceb1..58498007 100644 --- a/src/buildtool/file_system/git_repo.hpp +++ b/src/buildtool/file_system/git_repo.hpp @@ -323,13 +323,6 @@ class GitRepo { /// \brief Open real repository at given location. explicit GitRepo(std::filesystem::path const& repo_path) noexcept; - [[nodiscard]] auto GetGitRepository() const& noexcept -> git_repository&; - - [[nodiscard]] auto GetGitPath() const noexcept - -> std::filesystem::path const&; - - [[nodiscard]] auto GetGitOdb() const& noexcept -> git_odb&; - using StoreDirEntryFunc = std::function<bool(std::filesystem::path const&, ObjectType type)>; |