diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2022-08-29 11:35:15 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2022-12-21 14:41:57 +0100 |
commit | 1f344bd93258fac03b6ea82c15dd5dad41ee20fa (patch) | |
tree | a6696ca58ec9da63d4e1829bb2163c4e60811438 /src/buildtool/file_system/git_tree.hpp | |
parent | af20b222322d943595cd580404eda7be7a0b5ba4 (diff) | |
download | justbuild-1f344bd93258fac03b6ea82c15dd5dad41ee20fa.tar.gz |
Git CAS: Move Git tree ops to fake repo wrapper class
Diffstat (limited to 'src/buildtool/file_system/git_tree.hpp')
-rw-r--r-- | src/buildtool/file_system/git_tree.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <unordered_map> #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<GitCASPtr> cas, - GitCAS::tree_entries_t&& entries, + GitRepo::tree_entries_t&& entries, std::string raw_id) noexcept -> std::optional<GitTree> { entries_t e{}; |