summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/local/local_storage.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2022-08-29 11:35:15 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2022-12-21 14:41:57 +0100
commit1f344bd93258fac03b6ea82c15dd5dad41ee20fa (patch)
treea6696ca58ec9da63d4e1829bb2163c4e60811438 /src/buildtool/execution_api/local/local_storage.cpp
parentaf20b222322d943595cd580404eda7be7a0b5ba4 (diff)
downloadjustbuild-1f344bd93258fac03b6ea82c15dd5dad41ee20fa.tar.gz
Git CAS: Move Git tree ops to fake repo wrapper class
Diffstat (limited to 'src/buildtool/execution_api/local/local_storage.cpp')
-rw-r--r--src/buildtool/execution_api/local/local_storage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/local/local_storage.cpp b/src/buildtool/execution_api/local/local_storage.cpp
index a52e347d..eaeaa617 100644
--- a/src/buildtool/execution_api/local/local_storage.cpp
+++ b/src/buildtool/execution_api/local/local_storage.cpp
@@ -35,10 +35,10 @@ namespace {
[[nodiscard]] auto ReadGitTree(
gsl::not_null<LocalStorage const*> const& storage,
bazel_re::Digest const& digest) noexcept
- -> std::optional<GitCAS::tree_entries_t> {
+ -> std::optional<GitRepo::tree_entries_t> {
if (auto const path = storage->TreePath(digest)) {
if (auto const content = FileSystemManager::ReadFile(*path)) {
- return GitCAS::ReadTreeData(
+ return GitRepo::ReadTreeData(
*content,
HashFunction::ComputeTreeHash(*content).Bytes(),
/*is_hex_id=*/false);