(path: string)
| 1304 | } |
| 1305 | |
| 1306 | async listDirectory(path: string) { |
| 1307 | try { |
| 1308 | const tree = await listDirectory(path); |
| 1309 | return { success: true as const, data: tree }; |
| 1310 | } catch (error) { |
| 1311 | return { |
| 1312 | success: false as const, |
| 1313 | error: getErrorMessage(error), |
| 1314 | }; |
| 1315 | } |
| 1316 | } |
| 1317 | |
| 1318 | async createDirectory( |
| 1319 | requestedPath: string |
no test coverage detected