diff options
Diffstat (limited to 'src/buildtool/execution_api/serve/mr_local_api.hpp')
-rw-r--r-- | src/buildtool/execution_api/serve/mr_local_api.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildtool/execution_api/serve/mr_local_api.hpp b/src/buildtool/execution_api/serve/mr_local_api.hpp index 815ad662..11a3cbb2 100644 --- a/src/buildtool/execution_api/serve/mr_local_api.hpp +++ b/src/buildtool/execution_api/serve/mr_local_api.hpp @@ -25,6 +25,7 @@ #include "gsl/gsl" #include "src/buildtool/common/artifact.hpp" #include "src/buildtool/common/artifact_digest.hpp" +#include "src/buildtool/crypto/hash_function.hpp" #include "src/buildtool/execution_api/common/artifact_blob.hpp" #include "src/buildtool/execution_api/common/execution_action.hpp" #include "src/buildtool/execution_api/common/execution_api.hpp" @@ -130,6 +131,8 @@ class MRLocalApi final : public IExecutionApi { std::unordered_set<ArtifactDigest> const& digests) const noexcept -> std::unordered_set<ArtifactDigest> final; + [[nodiscard]] auto GetHashType() const noexcept -> HashFunction::Type final; + private: // retain local context references to have direct access to storages gsl::not_null<LocalContext const*> native_context_; |