summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_repo.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-08-29 09:18:09 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-08-30 17:17:09 +0200
commitdd12fcb5eea5970ac8ef6acd7a200c1e92ce81ea (patch)
tree1d7fcfb366f45ca11a908ecc90f3f55d4c2e6618 /src/buildtool/file_system/git_repo.hpp
parent98884d6d3f5c31efb3390ab75f1952dcdff0221c (diff)
downloadjustbuild-dd12fcb5eea5970ac8ef6acd7a200c1e92ce81ea.tar.gz
Replace bazel_re::Digest in GitRepo::SymlinksCheckFunc callback
...with ArtifactDigest.
Diffstat (limited to 'src/buildtool/file_system/git_repo.hpp')
-rw-r--r--src/buildtool/file_system/git_repo.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/file_system/git_repo.hpp b/src/buildtool/file_system/git_repo.hpp
index 4d1be53f..03ce92d8 100644
--- a/src/buildtool/file_system/git_repo.hpp
+++ b/src/buildtool/file_system/git_repo.hpp
@@ -24,7 +24,7 @@
#include <vector>
#include "gsl/gsl"
-#include "src/buildtool/common/bazel_types.hpp"
+#include "src/buildtool/common/artifact_digest.hpp"
#include "src/buildtool/file_system/git_cas.hpp"
#include "src/buildtool/file_system/git_types.hpp"
#include "src/buildtool/storage/config.hpp"
@@ -71,7 +71,7 @@ class GitRepo {
// Checks whether a list of symlinks given by their hashes are
// non-upwards, based on content read from an actual backend.
using SymlinksCheckFunc =
- std::function<bool(std::vector<bazel_re::Digest> const&)>;
+ std::function<bool(std::vector<ArtifactDigest> const&)>;
GitRepo() = delete; // no default ctor
~GitRepo() noexcept = default;