diff options
Diffstat (limited to 'src/buildtool/serve_api/remote/serve_api.hpp')
-rw-r--r-- | src/buildtool/serve_api/remote/serve_api.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buildtool/serve_api/remote/serve_api.hpp b/src/buildtool/serve_api/remote/serve_api.hpp index fce7611d..b4c03ba5 100644 --- a/src/buildtool/serve_api/remote/serve_api.hpp +++ b/src/buildtool/serve_api/remote/serve_api.hpp @@ -61,6 +61,11 @@ class ServeApi final { return Instance().stc_->ServeContent(content); } + [[nodiscard]] static auto TreeInRemoteCAS(std::string const& tree_id) + -> bool { + return Instance().stc_->ServeTree(tree_id); + } + [[nodiscard]] static auto ServeTargetVariables( std::string const& target_root_id, std::string const& target_file, |