| 25 | } |
| 26 | |
| 27 | bool Load(const std::string& workspaceName, const unsigned int priority) |
| 28 | { |
| 29 | Debug::Log->info("<Workspace> Loading Workspace '{0}' with priority {1}", |
| 30 | workspaceName, priority); |
| 31 | if (WorkspaceExists(workspaceName)) |
| 32 | { |
| 33 | MountablePath::Mount(MountablePath(MountablePathType::Workspace, |
| 34 | GetWorkspaceLocation(workspaceName), priority)); |
| 35 | return true; |
| 36 | } |
| 37 | throw Exceptions::UnknownWorkspace(workspaceName, ListWorkspaces(), EXC_INFO); |
| 38 | } |
| 39 | |
| 40 | std::vector<std::string> ListWorkspaces() |
| 41 | { |
nothing calls this directly
no test coverage detected