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

Method remove

src/workspaces/scrollback-store.ts:67–73  ·  view source on GitHub ↗
(rel: string)

Source from the content-addressed store, hash-verified

65 }
66
67 async remove(rel: string): Promise<void> {
68 try {
69 await rm(join(this.dir, rel), { force: true });
70 } catch (err) {
71 this.logger.warn('scrollback.remove_failed', { rel, err });
72 }
73 }
74
75 /** Drop the entire scrollback subtree for a workspace (workspace deletion). */
76 async removeAllFor(wsId: string): Promise<void> {

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected