diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-18 16:26:11 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-19 12:24:07 +0200 |
commit | 6453a846e788887b6cd74d71c1873a5e3270434d (patch) | |
tree | eaeecd4ef21457b230859b103a0efe72b0ff8902 /src/buildtool/execution_api/execution_service/cas_utils.hpp | |
parent | bb19ad08f4649f4bd0a920adb9226e97e23d7c13 (diff) | |
download | justbuild-6453a846e788887b6cd74d71c1873a5e3270434d.tar.gz |
Unify logic of adding to CAS in ByteStreamServer and CASServer
...by calling the generalized CASUtils's implementation.
Diffstat (limited to 'src/buildtool/execution_api/execution_service/cas_utils.hpp')
-rw-r--r-- | src/buildtool/execution_api/execution_service/cas_utils.hpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/buildtool/execution_api/execution_service/cas_utils.hpp b/src/buildtool/execution_api/execution_service/cas_utils.hpp index 8de56bdd..b98e3223 100644 --- a/src/buildtool/execution_api/execution_service/cas_utils.hpp +++ b/src/buildtool/execution_api/execution_service/cas_utils.hpp @@ -27,11 +27,6 @@ class CASUtils { public: - [[nodiscard]] static auto EnsureTreeInvariant( - ArtifactDigest const& digest, - std::string const& tree_data, - Storage const& storage) noexcept -> std::optional<std::string>; - [[nodiscard]] static auto AddDataToCAS(ArtifactDigest const& digest, std::string const& content, Storage const& storage) noexcept |