(dir: string)
| 15 | TE.tryCatch(() => fsUtils.removeEmptyDirs(dir), createTaggedSystemError('fs-remove-empty-dirs', { dir })) |
| 16 | |
| 17 | export const removeDir = (dir: string) => |
| 18 | pipe(TE.tryCatch(() => fs.rm(dir, { recursive: true }), createTaggedSystemError('fs-remove-dir', { dir }))) |
| 19 | |
| 20 | export const removeFile = (filePath: string) => |
| 21 | pipe(TE.tryCatch(() => fs.unlink(filePath), createTaggedSystemError('fs-remove-file', { filePath }))) |
nothing calls this directly
no test coverage detected