(method: string)
| 96 | })) |
| 97 | |
| 98 | const makeTempDirectoryFactory = (method: string): FileSystem.FileSystem["makeTempDirectory"] => (options) => |
| 99 | tryPromise(method, options?.directory, () => |
| 100 | Deno.makeTempDir({ |
| 101 | ...(options?.directory === undefined ? {} : { dir: options.directory }), |
| 102 | ...(options?.prefix === undefined ? {} : { prefix: options.prefix }) |
| 103 | })) |
| 104 | |
| 105 | const makeTempDirectory = makeTempDirectoryFactory("makeTempDirectory") |
| 106 |
no test coverage detected