diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-02 18:12:23 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-09 13:07:13 +0200 |
commit | 4fc124f21ea664b968ab6ee320c6ecb030292c08 (patch) | |
tree | 61ef61a4dfee5976c6e1c1da2cfe97307aa6fe08 /src/buildtool/execution_api/local/local_action.hpp | |
parent | 56f91aac0c25e6e80dbaae087227502312accee6 (diff) | |
download | justbuild-4fc124f21ea664b968ab6ee320c6ecb030292c08.tar.gz |
Use ArtifactDigest in LocalAction
Diffstat (limited to 'src/buildtool/execution_api/local/local_action.hpp')
-rw-r--r-- | src/buildtool/execution_api/local/local_action.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/local/local_action.hpp b/src/buildtool/execution_api/local/local_action.hpp index dedc2951..d6ab0e58 100644 --- a/src/buildtool/execution_api/local/local_action.hpp +++ b/src/buildtool/execution_api/local/local_action.hpp @@ -117,7 +117,7 @@ class LocalAction final : public IExecutionAction { return BazelMsgFactory::CreateActionDigestFromCommandLine(request); } - [[nodiscard]] auto Run(bazel_re::Digest const& action_id) const noexcept + [[nodiscard]] auto Run(ArtifactDigest const& action_id) const noexcept -> std::optional<Output>; [[nodiscard]] auto StageInput( @@ -154,7 +154,7 @@ class LocalAction final : public IExecutionAction { /// \brief Store file from path in file CAS and return pointer to digest. [[nodiscard]] auto DigestFromOwnedFile( std::filesystem::path const& file_path) const noexcept - -> gsl::owner<bazel_re::Digest*>; + -> std::optional<ArtifactDigest>; }; #endif // INCLUDED_SRC_BUILDTOOL_EXECUTION_API_LOCAL_LOCAL_ACTION_HPP |