MCPcopy Create free account
hub / github.com/github/copilot-sdk / disposeIsolated

Function disposeIsolated

nodejs/test/e2e/rpc_server_misc.e2e.test.ts:55–62  ·  view source on GitHub ↗
(isolatedClient: CopilotClient, home: string)

Source from the content-addressed store, hash-verified

53 }
54
55 async function disposeIsolated(isolatedClient: CopilotClient, home: string): Promise<void> {
56 try {
57 await isolatedClient.forceStop();
58 } catch {
59 // Best-effort cleanup.
60 }
61 tryRemoveDirectory(home);
62 }
63
64 async function forceStop(target: CopilotClient): Promise<void> {
65 try {

Callers 2

Calls 2

tryRemoveDirectoryFunction · 0.70
forceStopMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…