summaryrefslogtreecommitdiff
path: root/src/buildtool/main/install_cas.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/main/install_cas.hpp')
-rw-r--r--src/buildtool/main/install_cas.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/buildtool/main/install_cas.hpp b/src/buildtool/main/install_cas.hpp
index 9ca0a638..97324569 100644
--- a/src/buildtool/main/install_cas.hpp
+++ b/src/buildtool/main/install_cas.hpp
@@ -17,20 +17,22 @@
#include <string>
-#include "gsl/gsl"
#include "src/buildtool/common/artifact.hpp"
-#include "src/buildtool/common/cli.hpp"
#ifndef BOOTSTRAP_BUILD_TOOL
+#include "src/buildtool/common/cli.hpp"
#include "src/buildtool/execution_api/common/api_bundle.hpp"
+#include "src/buildtool/execution_api/remote/context.hpp"
#endif
+/// \note Method is public for use also in tests.
[[nodiscard]] auto ObjectInfoFromLiberalString(std::string const& s,
bool has_remote) noexcept
-> Artifact::ObjectInfo;
#ifndef BOOTSTRAP_BUILD_TOOL
[[nodiscard]] auto FetchAndInstallArtifacts(ApiBundle const& apis,
- FetchArguments const& clargs)
+ FetchArguments const& clargs,
+ RemoteContext const& remote_context)
-> bool;
#endif