MCPcopy
hub / github.com/wavetermdev/waveterm / GetWorkspace

Function GetWorkspace

pkg/wcore/workspace.go:186–188  ·  view source on GitHub ↗
(ctx context.Context, wsID string)

Source from the content-addressed store, hash-verified

184}
185
186func GetWorkspace(ctx context.Context, wsID string) (*waveobj.Workspace, error) {
187 return wstore.DBMustGet[*waveobj.Workspace](ctx, wsID)
188}
189
190func getTabBackground() string {
191 config := wconfig.GetWatcher().GetFullConfig()

Callers 9

BlocksListCommandMethod · 0.92
WorkspaceListCommandMethod · 0.92
UpdateWorkspaceFunction · 0.85
CreateTabFunction · 0.85
createTabObjFunction · 0.85
SetActiveTabFunction · 0.85
SwitchWorkspaceFunction · 0.85
CreateWindowFunction · 0.85
CheckAndFixWindowFunction · 0.85

Calls 1

DBMustGetFunction · 0.92

Tested by

no test coverage detected