diff options
| author | Dan Engelbrecht <[email protected]> | 2025-10-03 14:17:07 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-10-03 14:17:07 +0200 |
| commit | 158d4d50392ff1d416828ca2a17d4c3f4b877bd9 (patch) | |
| tree | 2c4a84bd3c6e9bce22567895a6e213a6e43bcd48 /src/zenserver/zenserver.cpp | |
| parent | fix missing chunk (#548) (diff) | |
| download | zen-158d4d50392ff1d416828ca2a17d4c3f4b877bd9.tar.xz zen-158d4d50392ff1d416828ca2a17d4c3f4b877bd9.zip | |
move zen vfs implementation to zenstore (#549)
* move zen vfs implementation to zenstore
Diffstat (limited to 'src/zenserver/zenserver.cpp')
| -rw-r--r-- | src/zenserver/zenserver.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/zenserver/zenserver.cpp b/src/zenserver/zenserver.cpp index c1199c1a7..29581b192 100644 --- a/src/zenserver/zenserver.cpp +++ b/src/zenserver/zenserver.cpp @@ -26,6 +26,7 @@ #include <zenstore/buildstore/buildstore.h> #include <zenstore/cidstore.h> #include <zenstore/scrubcontext.h> +#include <zenstore/vfsimpl.h> #include <zenstore/workspaces.h> #include <zenutil/workerpools.h> #include <zenutil/zenserverprocess.h> @@ -313,9 +314,11 @@ ZenServer::Initialize(const ZenServerOptions& ServerOptions, ZenServerState::Zen } #if ZEN_WITH_VFS - m_VfsService = std::make_unique<VfsService>(m_StatusService); - m_VfsService->AddService(Ref<ProjectStore>(m_ProjectStore)); - m_VfsService->AddService(Ref<ZenCacheStore>(m_CacheStore)); + m_VfsServiceImpl = std::make_unique<VfsServiceImpl>(); + m_VfsServiceImpl->AddService(Ref<ProjectStore>(m_ProjectStore)); + m_VfsServiceImpl->AddService(Ref<ZenCacheStore>(m_CacheStore)); + + m_VfsService = std::make_unique<VfsService>(m_StatusService, m_VfsServiceImpl.get()); #endif // ZEN_WITH_VFS ZEN_INFO("initializing GC, enabled '{}', interval {}, lightweight interval {}", @@ -876,6 +879,7 @@ ZenServer::Cleanup() m_AdminService.reset(); m_VfsService.reset(); + m_VfsServiceImpl.reset(); m_ObjStoreService.reset(); m_FrontendService.reset(); |