diff options
| author | Dan Engelbrecht <[email protected]> | 2024-06-11 15:40:11 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-06-11 15:40:11 +0200 |
| commit | 6c43936e06ccd834a4e69ff59b8327782dcb0a06 (patch) | |
| tree | 61815fbbe350e7ea0ffed65e64e342e50c0abce7 /src/zenstore/include | |
| parent | 5.5.3-pre0 (diff) | |
| download | zen-6c43936e06ccd834a4e69ff59b8327782dcb0a06.tar.xz zen-6c43936e06ccd834a4e69ff59b8327782dcb0a06.zip | |
workspaces config and fixes (#92)
* fix alias request capture
* use single config file for workspaces
Diffstat (limited to 'src/zenstore/include')
| -rw-r--r-- | src/zenstore/include/zenstore/workspaces.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/zenstore/include/zenstore/workspaces.h b/src/zenstore/include/zenstore/workspaces.h index 2eacf313d..a3e51b20d 100644 --- a/src/zenstore/include/zenstore/workspaces.h +++ b/src/zenstore/include/zenstore/workspaces.h @@ -69,9 +69,9 @@ public: WorkspaceInfo GetWorkspaceInfo(const Oid& WorkspaceId) const; bool RemoveWorkspace(const Oid& WorkspaceId); - bool AddWorkspaceShare(const Oid& WorkspaceId, - const WorkspaceShareConfiguration& Configuration, - std::function<Oid(const std::filesystem::path& Path)>&& PathToIdCB); + bool AddWorkspaceShare(const Oid& WorkspaceId, + const WorkspaceShareConfiguration& Configuration, + const std::function<Oid(const std::filesystem::path& Path)>& PathToIdCB); WorkspaceShareConfiguration GetWorkspaceShareConfiguration(const Oid& WorkspaceId, const Oid& ShareId) const; bool RemoveWorkspaceShare(const Oid& WorkspaceId, const Oid& ShareId); @@ -88,7 +88,8 @@ public: WorkerThreadPool& WorkerPool); void WriteState(const std::filesystem::path& WorkspaceStatePath); - void ReadState(const std::filesystem::path& WorkspaceStatePath, std::function<Oid(const std::filesystem::path& Path)>&& PathToIdCB); + void ReadState(const std::filesystem::path& WorkspaceStatePath, + const std::function<Oid(const std::filesystem::path& Path)>& PathToIdCB); struct ShareAlias { |