summaryrefslogtreecommitdiff
path: root/src/buildtool
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool')
-rw-r--r--src/buildtool/execution_api/common/execution_response.hpp2
-rw-r--r--src/buildtool/execution_api/local/local_response.hpp2
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_response.cpp9
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_response.hpp2
4 files changed, 1 insertions, 14 deletions
diff --git a/src/buildtool/execution_api/common/execution_response.hpp b/src/buildtool/execution_api/common/execution_response.hpp
index 65fd0ba9..552e52a6 100644
--- a/src/buildtool/execution_api/common/execution_response.hpp
+++ b/src/buildtool/execution_api/common/execution_response.hpp
@@ -75,8 +75,6 @@ class IExecutionResponse {
[[nodiscard]] virtual auto Artifacts() noexcept
-> expected<gsl::not_null<ArtifactInfos const*>, std::string> = 0;
- [[nodiscard]] virtual auto DirectorySymlinks() noexcept
- -> expected<gsl::not_null<DirSymlinks const*>, std::string> = 0;
[[nodiscard]] virtual auto HasUpwardsSymlinks() noexcept
-> expected<bool, std::string> = 0;
};
diff --git a/src/buildtool/execution_api/local/local_response.hpp b/src/buildtool/execution_api/local/local_response.hpp
index f5ed3e94..7f50b2fc 100644
--- a/src/buildtool/execution_api/local/local_response.hpp
+++ b/src/buildtool/execution_api/local/local_response.hpp
@@ -112,7 +112,7 @@ class LocalResponse final : public IExecutionResponse {
}
auto DirectorySymlinks() noexcept
- -> expected<gsl::not_null<DirSymlinks const*>, std::string> final {
+ -> expected<gsl::not_null<DirSymlinks const*>, std::string> {
if (auto error_msg = Populate()) {
return unexpected{*std::move(error_msg)};
}
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
index e11a3b7f..5d826a1b 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
@@ -88,15 +88,6 @@ auto BazelResponse::Artifacts() noexcept
&artifacts_); // explicit type needed for expected
}
-auto BazelResponse::DirectorySymlinks() noexcept
- -> expected<gsl::not_null<DirSymlinks const*>, std::string> {
- if (auto error_msg = Populate()) {
- return unexpected{*std::move(error_msg)};
- }
- return gsl::not_null<DirSymlinks const*>(
- &dir_symlinks_); // explicit type needed for expected
-}
-
auto BazelResponse::HasUpwardsSymlinks() noexcept
-> expected<bool, std::string> {
if (auto error_msg = Populate()) {
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_response.hpp b/src/buildtool/execution_api/remote/bazel/bazel_response.hpp
index 55f45236..8504ae59 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_response.hpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_response.hpp
@@ -89,8 +89,6 @@ class BazelResponse final : public IExecutionResponse {
auto Artifacts() noexcept
-> expected<gsl::not_null<ArtifactInfos const*>, std::string> final;
- auto DirectorySymlinks() noexcept
- -> expected<gsl::not_null<DirSymlinks const*>, std::string> final;
auto HasUpwardsSymlinks() noexcept -> expected<bool, std::string> final;
private: