(options)
| 118 | const remove = removeFactory("remove") |
| 119 | |
| 120 | const makeTempDirectoryScoped: FileSystem.FileSystem["makeTempDirectoryScoped"] = (options) => |
| 121 | Effect.acquireRelease( |
| 122 | makeTempDirectoryFactory("makeTempDirectoryScoped")(options), |
| 123 | (directory) => Effect.orDie(removeFactory("makeTempDirectoryScoped")(directory, { recursive: true })) |
| 124 | ) |
| 125 | |
| 126 | const openOptions = (flag: FileSystem.OpenFlag = "r", mode?: number): Deno.OpenOptions => { |
| 127 | const modeOption = mode === undefined ? {} : { mode } |
nothing calls this directly
no test coverage detected