(options)
| 110 | const remove = removeFactory("remove") |
| 111 | |
| 112 | const makeTempDirectoryScoped: FileSystem.FileSystem["makeTempDirectoryScoped"] = (options) => |
| 113 | Effect.acquireRelease( |
| 114 | makeTempDirectoryFactory("makeTempDirectoryScoped")(options), |
| 115 | (directory) => Effect.orDie(removeFactory("makeTempDirectoryScoped")(directory, { recursive: true, force: true })) |
| 116 | ) |
| 117 | |
| 118 | const openOptions = (flag: FileSystem.OpenFlag = "r", mode?: number): Deno.OpenOptions => { |
| 119 | const modeOption = mode === undefined ? {} : { mode } |
nothing calls this directly
no test coverage detected