(method: string)
| 165 | // == remove |
| 166 | |
| 167 | const removeFactory = (method: string): FileSystem.FileSystem["remove"] => { |
| 168 | const nodeRm = effectify( |
| 169 | NFS.rm, |
| 170 | handleErrnoException("FileSystem", method), |
| 171 | handleBadArgument(method) |
| 172 | ) |
| 173 | return (path, options) => |
| 174 | nodeRm( |
| 175 | path, |
| 176 | { recursive: options?.recursive ?? false, force: options?.force ?? false } |
| 177 | ) |
| 178 | } |
| 179 | const remove = removeFactory("remove") |
| 180 | |
| 181 | // == makeTempDirectoryScoped |
no test coverage detected