MCPcopy Index your code
hub / github.com/coder/mux / addToArchivingWorkspaces

Function addToArchivingWorkspaces

src/node/services/workspaceService.test.ts:72–75  ·  view source on GitHub ↗
(service: WorkspaceService, workspaceId: string)

Source from the content-addressed store, hash-verified

70
71// Helper to access private archivingWorkspaces set
72function addToArchivingWorkspaces(service: WorkspaceService, workspaceId: string): void {
73 // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
74 (service as any).archivingWorkspaces.add(workspaceId);
75}
76
77async function withTempMuxRoot<T>(fn: (root: string) => Promise<T>): Promise<T> {
78 const originalMuxRoot = process.env.MUX_ROOT;

Callers 1

Calls 1

addMethod · 0.80

Tested by

no test coverage detected