From 70393c8717c7b3b192928e652e103f12ff89a483 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 17 Jan 2025 12:51:04 +0100 Subject: serve client: support keep_artifact_root --- src/buildtool/serve_api/remote/target_client.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildtool/serve_api/remote/target_client.hpp') diff --git a/src/buildtool/serve_api/remote/target_client.hpp b/src/buildtool/serve_api/remote/target_client.hpp index 21059f2a..0a30a756 100644 --- a/src/buildtool/serve_api/remote/target_client.hpp +++ b/src/buildtool/serve_api/remote/target_client.hpp @@ -67,7 +67,8 @@ class TargetClient { /// \returns A correspondingly populated result union, or nullopt if remote /// reported that the target was not found. [[nodiscard]] auto ServeTarget(const TargetCacheKey& key, - const ArtifactDigest& repo_key) + const ArtifactDigest& repo_key, + bool keep_artifact_root = false) const noexcept -> std::optional; /// \brief Retrieve the flexible config variables of an export target. -- cgit v1.2.3