From ca952159e778f0ed927082832a195842f6229a94 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. --- 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 8fb65379..798f9ffb 100644 --- a/src/buildtool/file_system/git_repo.hpp +++ b/src/buildtool/file_system/git_repo.hpp @@ -326,13 +326,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