MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / Load

Function Load

src/Core/System/Workspace.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 6

WorkspaceExistsFunction · 0.85
MountablePathClass · 0.85
GetWorkspaceLocationFunction · 0.85
UnknownWorkspaceClass · 0.85
ListWorkspacesFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected