MCPcopy Create free account
hub / github.com/cloudflare/agents / rmCall

Method rmCall

packages/shell/src/tests/agents/workspace.ts:100–109  ·  view source on GitHub ↗
(
    path: string,
    opts?: { recursive?: boolean; force?: boolean }
  )

Source from the content-addressed store, hash-verified

98 }
99
100 async rmCall(
101 path: string,
102 opts?: { recursive?: boolean; force?: boolean }
103 ): Promise<void | { error: string }> {
104 try {
105 await this.workspace.rm(path, opts);
106 } catch (e) {
107 return { error: (e as Error).message };
108 }
109 }
110
111 async symlinkCall(
112 target: string,

Callers 1

workspace.test.tsFile · 0.80

Calls 1

rmMethod · 0.65

Tested by

no test coverage detected