(method: string)
| 138 | // == remove |
| 139 | |
| 140 | const removeFactory = (method: string) => { |
| 141 | const nodeRm = effectify( |
| 142 | NFS.rm, |
| 143 | handleErrnoException("FileSystem", method), |
| 144 | handleBadArgument(method) |
| 145 | ) |
| 146 | return (path: string, options?: FileSystem.RemoveOptions) => |
| 147 | nodeRm( |
| 148 | path, |
| 149 | { recursive: options?.recursive ?? false, force: options?.force ?? false } |
| 150 | ) |
| 151 | } |
| 152 | const remove = removeFactory("remove") |
| 153 | |
| 154 | // == makeTempDirectoryScoped |
no test coverage detected