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

Method removeContainer

src/node/multiProject/containerManager.ts:63–67  ·  view source on GitHub ↗
(workspaceName: string)

Source from the content-addressed store, hash-verified

61 }
62
63 async removeContainer(workspaceName: string): Promise<void> {
64 const containerPath = this.getContainerPath(workspaceName);
65 // force: true keeps this idempotent (no error if already removed).
66 await fs.rm(containerPath, { recursive: true, force: true });
67 }
68}

Callers 9

createMultiProjectMethod · 0.95
removeMethod · 0.95
renameMethod · 0.95
orchestrateForkFunction · 0.95
cleanupFailedRestoreMethod · 0.80
deleteWorkspaceMethod · 0.80
renameWorkspaceMethod · 0.80

Calls 1

getContainerPathMethod · 0.95

Tested by

no test coverage detected