summaryrefslogtreecommitdiff
path: root/src/buildtool/computed_roots/artifacts_root.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/computed_roots/artifacts_root.hpp')
-rw-r--r--src/buildtool/computed_roots/artifacts_root.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/buildtool/computed_roots/artifacts_root.hpp b/src/buildtool/computed_roots/artifacts_root.hpp
index 6ed727fa..95b72877 100644
--- a/src/buildtool/computed_roots/artifacts_root.hpp
+++ b/src/buildtool/computed_roots/artifacts_root.hpp
@@ -19,6 +19,7 @@
#include <string>
#include "src/buildtool/build_engine/expression/expression_ptr.hpp"
+#include "src/buildtool/execution_api/utils/rehash_utils.hpp"
#include "src/buildtool/multithreading/async_map_consumer.hpp"
/// \brief Compute to the git tree identifier, as hex string, corresponding to
@@ -28,7 +29,8 @@
/// \param logger Logger to report problems; will be called with the fatal
/// property in case of error
auto ArtifactsRoot(ExpressionPtr const& stage,
- AsyncMapConsumerLoggerPtr const& logger)
- -> std::optional<std::string>;
+ AsyncMapConsumerLoggerPtr const& logger,
+ std::optional<RehashUtils::Rehasher> const& rehash =
+ std::nullopt) -> std::optional<std::string>;
#endif