summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/bazel_msg/bazel_blob.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-07-25 15:37:53 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-08-08 10:56:20 +0200
commit63ff75d2818a3613b01c5ad322802c305d2282f8 (patch)
treee45ba21d34763d104874dc6b3b6e976edbf29cb5 /src/buildtool/execution_api/bazel_msg/bazel_blob.hpp
parent776347cd196ab16eec72e186dcf7f86dd620b42b (diff)
downloadjustbuild-63ff75d2818a3613b01c5ad322802c305d2282f8.tar.gz
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.
Diffstat (limited to 'src/buildtool/execution_api/bazel_msg/bazel_blob.hpp')
-rw-r--r--src/buildtool/execution_api/bazel_msg/bazel_blob.hpp2
1 files changed, 1 insertions, 1 deletions
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<BazelBlob> {
- auto const type = FileSystemManager::Type(fpath);
+ auto const type = FileSystemManager::Type(fpath, /*allow_upwards=*/true);
if (not type) {
return std::nullopt;
}