From 64439ece68c521d698b9b13b9485eb7c63839d7a Mon Sep 17 00:00:00 2001 From: Sascha Roloff Date: Mon, 12 Sep 2022 16:48:42 +0200 Subject: Removed ArtifactDigest is_tree() predicate --- src/buildtool/execution_engine/executor/executor.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildtool/execution_engine/executor/executor.hpp') diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index 546c5165..fb3593c8 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -260,7 +260,8 @@ class ExecutorImpl { ArtifactDigest const& digest, std::string const& hash) noexcept -> bool { std::optional content; - if (digest.is_tree()) { + if (NativeSupport::IsTree( + static_cast(digest).hash())) { // if known tree is not available, recursively upload its content auto tree = ReadGitTree(repo, hash); if (not tree) { -- cgit v1.2.3