From 0ddce95c7ed1dd3dd0a5df31138b58a87e11821b Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Wed, 4 Dec 2024 14:59:34 +0100 Subject: GitCAS: remove friend GitRepo ...and access internal state via getters. (cherry-picked from ca952159e778f0ed927082832a195842f6229a94) --- src/buildtool/file_system/git_repo.hpp | 7 ------- 1 file changed, 7 deletions(-) (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 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; -- cgit v1.2.3