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

Function ListWorkspaces

src/Core/System/Workspace.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 std::vector<std::string> ListWorkspaces()
41 {
42 vili::node workspaces = vili::parser::from_file("Workspace/Workspaces.vili");
43 std::vector<std::string> workspacesNames;
44 for (auto [workspaceName, _] : workspaces.items())
45 {
46 workspacesNames.push_back(workspaceName);
47 }
48 return workspacesNames;
49 }
50} // namespace obe::System::Workspace

Callers 2

GetWorkspaceLocationFunction · 0.85
LoadFunction · 0.85

Calls 2

from_fileFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected