diff options
Diffstat (limited to 'src/buildtool/serve_api/remote/serve_api.hpp')
-rw-r--r-- | src/buildtool/serve_api/remote/serve_api.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/buildtool/serve_api/remote/serve_api.hpp b/src/buildtool/serve_api/remote/serve_api.hpp index d206b416..a0d50ea9 100644 --- a/src/buildtool/serve_api/remote/serve_api.hpp +++ b/src/buildtool/serve_api/remote/serve_api.hpp @@ -20,6 +20,7 @@ #include <string> #include "src/buildtool/common/remote/port.hpp" +#include "src/buildtool/file_system/symlinks_map/pragma_special.hpp" #include "src/buildtool/serve_api/remote/source_tree_client.hpp" class ServeApi final { @@ -41,6 +42,13 @@ class ServeApi final { bool sync_tree = false) -> std::optional<std::string>; + [[nodiscard]] auto RetrieveTreeFromArchive( + std::string const& content, + std::string const& archive_type = "archive", + std::string const& subdir = ".", + std::optional<PragmaSpecial> const& resolve_symlinks = std::nullopt, + bool sync_tree = false) -> std::optional<std::string>; + private: // source tree service client std::unique_ptr<SourceTreeClient> stc_; |