(from: string, to: string)
| 34 | } |
| 35 | |
| 36 | export async function copyFile(from: string, to: string): Promise<void> { |
| 37 | await createDir(dirname(to)); |
| 38 | |
| 39 | return fs.copyFile(from, to, constants.COPYFILE_FICLONE); |
| 40 | } |
| 41 | |
| 42 | export async function moveDirectory(from: string, to: string): Promise<void> { |
| 43 | await rimraf(to); |
no test coverage detected