(params: RemoveFileParams)
| 164 | } |
| 165 | |
| 166 | async remove(params: RemoveFileParams): Promise<void> { |
| 167 | const encodedPath = encodeURIComponent(params.path) |
| 168 | return this.client._fetch<void>( |
| 169 | `/v1/sandboxes/${params.sandboxId}/files?path=${encodedPath}`, |
| 170 | { method: "DELETE" }, |
| 171 | ) |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | /** @deprecated Use `sandboxes.exec({ sandboxId, command: 'git clone ...' })` instead. */ |
no test coverage detected