(path, options)
| 1535 | } |
| 1536 | |
| 1537 | async function rm(path, options) { |
| 1538 | const h = vfsState.handlers; |
| 1539 | if (h !== null) { |
| 1540 | const promise = h.rm(path, options); |
| 1541 | if (promise !== undefined) { await promise; return; } |
| 1542 | } |
| 1543 | path = getValidatedPath(path); |
| 1544 | options = await validateRmOptionsPromise(path, options, false); |
| 1545 | return lazyRimRaf()(path, options); |
| 1546 | } |
| 1547 | |
| 1548 | async function rmdir(path, options) { |
| 1549 | const h = vfsState.handlers; |
no test coverage detected