(path: string, options: RmOptions = {})
| 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( |