From 63ff75d2818a3613b01c5ad322802c305d2282f8 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 25 Jul 2023 15:37:53 +0200 Subject: just execute: Fix uncollected upwards symlinks Upwards symlinks should still be collected from actions, even if only the non-upwards symlinks are supported artifact types. The client side is thus the one responsible with enforcing the non-upwardness condition. --- src/buildtool/execution_api/bazel_msg/bazel_blob.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/bazel_msg/bazel_blob.hpp') diff --git a/src/buildtool/execution_api/bazel_msg/bazel_blob.hpp b/src/buildtool/execution_api/bazel_msg/bazel_blob.hpp index ed82d92d..944bb2d8 100644 --- a/src/buildtool/execution_api/bazel_msg/bazel_blob.hpp +++ b/src/buildtool/execution_api/bazel_msg/bazel_blob.hpp @@ -39,7 +39,7 @@ struct BazelBlob { /// given path. [[nodiscard]] static inline auto CreateBlobFromPath( std::filesystem::path const& fpath) noexcept -> std::optional { - auto const type = FileSystemManager::Type(fpath); + auto const type = FileSystemManager::Type(fpath, /*allow_upwards=*/true); if (not type) { return std::nullopt; } -- cgit v1.2.3