summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/executor/executor.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-06-20 17:26:30 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-06-26 17:57:29 +0200
commit01a0ed081f8eb6f7c41cd1052b146813fb94f699 (patch)
tree2a9a40c969279c063e66369a81bc6bac698fa7fa /src/buildtool/execution_engine/executor/executor.hpp
parentc11e9142d2a1b04004dcbed282dc1e04d116e03f (diff)
downloadjustbuild-01a0ed081f8eb6f7c41cd1052b146813fb94f699.tar.gz
FileRoot: Add handling of non-upwards symlink...
...and update tests accordingly.
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r--src/buildtool/execution_engine/executor/executor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp
index d262eac5..32a8cc2c 100644
--- a/src/buildtool/execution_engine/executor/executor.hpp
+++ b/src/buildtool/execution_engine/executor/executor.hpp
@@ -394,11 +394,11 @@ class ExecutorImpl {
if (ws_root == nullptr) {
return std::nullopt;
}
- auto const object_type = ws_root->FileType(file_path);
+ auto const object_type = ws_root->BlobType(file_path);
if (not object_type) {
return std::nullopt;
}
- auto content = ws_root->ReadFile(file_path);
+ auto content = ws_root->ReadContent(file_path);
if (not content.has_value()) {
return std::nullopt;
}