(path, options)
| 89 | tryPromise("link", existingPath, () => Deno.link(existingPath, newPath)) |
| 90 | |
| 91 | const makeDirectory: FileSystem.FileSystem["makeDirectory"] = (path, options) => |
| 92 | tryPromise("makeDirectory", path, () => |
| 93 | Deno.mkdir(path, { |
| 94 | recursive: options?.recursive ?? false, |
| 95 | ...(options?.mode === undefined ? {} : { mode: options.mode }) |
| 96 | })) |
| 97 | |
| 98 | const makeTempDirectoryFactory = (method: string): FileSystem.FileSystem["makeTempDirectory"] => (options) => |
| 99 | tryPromise(method, options?.directory, () => |
no test coverage detected