(
path: string,
opts?: { recursive?: boolean; force?: boolean }
)
| 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, |