MCPcopy
hub / github.com/coder/mux / getConfiguredWorkspaceIds

Function getConfiguredWorkspaceIds

src/node/services/taskService.test.ts:11607–11612  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

11605 }
11606
11607 function getConfiguredWorkspaceIds(config: Config): string[] {
11608 return Array.from(config.loadConfigOrDefault().projects.values())
11609 .flatMap((project) => project.workspaces)
11610 .map((workspace) => workspace.id)
11611 .filter((id): id is string => typeof id === "string");
11612 }
11613
11614 async function handleTaskServiceStreamEndForTest(
11615 taskService: TaskService,

Callers 1

Calls 1

loadConfigOrDefaultMethod · 0.80

Tested by

no test coverage detected