From 1f344bd93258fac03b6ea82c15dd5dad41ee20fa Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 29 Aug 2022 11:35:15 +0200 Subject: Git CAS: Move Git tree ops to fake repo wrapper class --- src/buildtool/file_system/git_tree.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buildtool/file_system/git_tree.hpp') diff --git a/src/buildtool/file_system/git_tree.hpp b/src/buildtool/file_system/git_tree.hpp index 98e5a8bd..ac409e69 100644 --- a/src/buildtool/file_system/git_tree.hpp +++ b/src/buildtool/file_system/git_tree.hpp @@ -20,7 +20,7 @@ #include #include "gsl-lite/gsl-lite.hpp" -#include "src/buildtool/file_system/git_cas.hpp" +#include "src/buildtool/file_system/git_repo.hpp" #include "src/buildtool/file_system/object_type.hpp" #include "src/buildtool/multithreading/atomic_value.hpp" #include "src/utils/cpp/hex_string.hpp" @@ -77,7 +77,7 @@ class GitTree { raw_id_{std::move(raw_id)} {} [[nodiscard]] static auto FromEntries(gsl::not_null cas, - GitCAS::tree_entries_t&& entries, + GitRepo::tree_entries_t&& entries, std::string raw_id) noexcept -> std::optional { entries_t e{}; -- cgit v1.2.3