diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-08-26 14:49:22 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-08-26 17:19:39 +0200 |
commit | c7d30a299982178974b18a8088943cdd9f1c256f (patch) | |
tree | 330f0cc0c79a6ab56c64f8701fd7ed45531665bd /src/buildtool/storage/local_ac.hpp | |
parent | e6a91bb733b0738cee0b3ae06ee640f70c1e787f (diff) | |
download | justbuild-c7d30a299982178974b18a8088943cdd9f1c256f.tar.gz |
Store LocalAC keys as ArtifactDigests
Diffstat (limited to 'src/buildtool/storage/local_ac.hpp')
-rw-r--r-- | src/buildtool/storage/local_ac.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buildtool/storage/local_ac.hpp b/src/buildtool/storage/local_ac.hpp index cb4aa171..a93130a5 100644 --- a/src/buildtool/storage/local_ac.hpp +++ b/src/buildtool/storage/local_ac.hpp @@ -20,6 +20,7 @@ #include <string> #include "gsl/gsl" +#include "src/buildtool/common/artifact_digest.hpp" #include "src/buildtool/file_system/file_storage.hpp" #include "src/buildtool/file_system/file_system_manager.hpp" #include "src/buildtool/file_system/object_type.hpp" @@ -104,8 +105,8 @@ class LocalAC { /// \param cas_key The key pointing at an ActionResult in the LocalCAS. /// \return True if an entry was successfully added to the storage. [[nodiscard]] auto WriteActionKey( - bazel_re::Digest const& action_id, - bazel_re::Digest const& cas_key) const noexcept -> bool; + ArtifactDigest const& action_id, + ArtifactDigest const& cas_key) const noexcept -> bool; /// \brief Get the key pointing at an ActionResult in the LocalCAS. /// \param action_id The id of the action that produced the result. |