MCPcopy Create free account
hub / github.com/cloudflare/computer / rm

Method rm

packages/computer/src/stub.ts:248–259  ·  view source on GitHub ↗
(path: string, options: RmOptions = {})

Source from the content-addressed store, hash-verified

246 }
247
248 rm(path: string, options: RmOptions = {}): Promise<void> {
249 return withSpan(
250 this.#ws.observer,
251 "workspace.fs.rm",
252 {
253 "workspace.fs.path": path,
254 "workspace.fs.recursive": options.recursive,
255 "workspace.fs.force": options.force,
256 },
257 () => this.#ws.fs.rm(path, options),
258 );
259 }
260
261 chmod(path: string, mode: number): Promise<void> {
262 return withSpan(

Callers

nothing calls this directly

Calls 2

withSpanFunction · 0.85
rmMethod · 0.65

Tested by

no test coverage detected