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

Method removeAllFor

src/workspaces/scrollback-store.ts:76–82  ·  view source on GitHub ↗

Drop the entire scrollback subtree for a workspace (workspace deletion).

(wsId: string)

Source from the content-addressed store, hash-verified

74
75 /** Drop the entire scrollback subtree for a workspace (workspace deletion). */
76 async removeAllFor(wsId: string): Promise<void> {
77 try {
78 await rm(join(this.dir, wsId), { recursive: true, force: true });
79 } catch (err) {
80 this.logger.warn('scrollback.remove_all_failed', { wsId, err });
81 }
82 }
83}

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected