diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-10-09 15:30:31 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-11-02 12:06:50 +0100 |
commit | 47eeba4a4a7302662f4c39ebcc8e15a7876f8227 (patch) | |
tree | 03a261af2d0ca532607c1e949a344799bee1d02a /src/buildtool/serve_api/remote/serve_api.hpp | |
parent | c1a58d73d2fa21f9c692bbe3895443d3afc43d1d (diff) | |
download | justbuild-47eeba4a4a7302662f4c39ebcc8e15a7876f8227.tar.gz |
just serve: Fix inconsistencies
- add missing serve_api TARGETS file
- rename service client to align with server naming scheme
- fix inconsistencies in comments between implementation and protocol
Diffstat (limited to 'src/buildtool/serve_api/remote/serve_api.hpp')
-rw-r--r-- | src/buildtool/serve_api/remote/serve_api.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/serve_api/remote/serve_api.hpp b/src/buildtool/serve_api/remote/serve_api.hpp index d3fc29d1..d206b416 100644 --- a/src/buildtool/serve_api/remote/serve_api.hpp +++ b/src/buildtool/serve_api/remote/serve_api.hpp @@ -20,7 +20,7 @@ #include <string> #include "src/buildtool/common/remote/port.hpp" -#include "src/buildtool/serve_api/remote/serve_target_level_cache_client.hpp" +#include "src/buildtool/serve_api/remote/source_tree_client.hpp" class ServeApi final { public: @@ -42,8 +42,8 @@ class ServeApi final { -> std::optional<std::string>; private: - // target-level cache service client - std::unique_ptr<ServeTargetLevelCacheClient> tlc_; + // source tree service client + std::unique_ptr<SourceTreeClient> stc_; }; #endif // INCLUDED_SRC_BUILDTOOL_SERVE_API_REMOTE_SERVE_API_HPP |