MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / stopWorkspace

Function stopWorkspace

ui/src/components/workspace/api.ts:435–440  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

433 * workspace itself stays in the registry. Idempotent.
434 */
435export async function stopWorkspace(id: string): Promise<boolean> {
436 const res = await fetch(`/api/workspaces/${encodeURIComponent(id)}/stop`, {
437 method: 'POST',
438 });
439 return res.ok;
440}
441
442// ── git ──────────────────────────────────────────────────────────────────────
443

Callers

nothing calls this directly

Calls 1

fetchFunction · 0.50

Tested by

no test coverage detected