summaryrefslogtreecommitdiff
path: root/src/buildtool/main/add_to_cas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/main/add_to_cas.cpp')
-rw-r--r--src/buildtool/main/add_to_cas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/main/add_to_cas.cpp b/src/buildtool/main/add_to_cas.cpp
index 7a20af65..73f19502 100644
--- a/src/buildtool/main/add_to_cas.cpp
+++ b/src/buildtool/main/add_to_cas.cpp
@@ -78,15 +78,15 @@ auto AddArtifactsToCas(ToAddArguments const& clargs,
}
auto store_blob =
[&cas](std::filesystem::path const& path,
- auto is_exec) -> std::optional<bazel_re::Digest> {
+ auto is_exec) -> std::optional<ArtifactDigest> {
return cas.StoreBlob</*kOwner=*/true>(path, is_exec);
};
auto store_tree = [&cas](std::string const& content)
- -> std::optional<bazel_re::Digest> {
+ -> std::optional<ArtifactDigest> {
return cas.StoreTree(content);
};
auto store_symlink = [&cas](std::string const& content)
- -> std::optional<bazel_re::Digest> {
+ -> std::optional<ArtifactDigest> {
return cas.StoreBlob(content);
};
digest = BazelMsgFactory::CreateGitTreeDigestFromLocalTree(