(fromPath, toPath, options)
| 61 | } |
| 62 | |
| 63 | const copy: FileSystem.FileSystem["copy"] = (fromPath, toPath, options) => |
| 64 | tryPromise("copy", fromPath, () => |
| 65 | denoCopy(fromPath, toPath, { |
| 66 | overwrite: options?.overwrite ?? false, |
| 67 | preserveTimestamps: options?.preserveTimestamps ?? false |
| 68 | })) |
| 69 | |
| 70 | const copyFile: FileSystem.FileSystem["copyFile"] = (fromPath, toPath) => |
| 71 | tryPromise("copyFile", fromPath, () => Deno.copyFile(fromPath, toPath)) |
nothing calls this directly
no test coverage detected