-
Couldn't load subscription status.
- Fork 51
Open
Description
The method is documented as "overwriting any existing content" but accepts a CopyOptions().withOverwrite(false) and then overwrites the file
io/io/src/main/scala/sbt/io/IO.scala
Lines 888 to 894 in 6121f5e
| /** | |
| * Copies the contents of `sourceFile` to the location of `targetFile`, overwriting any existing content. | |
| * | |
| * See [[sbt.io.CopyOptions]] for docs on the options available. | |
| */ | |
| def copyFile(sourceFile: File, targetFile: File, options: CopyOptions): Unit = | |
| copyFile(sourceFile, targetFile, options.preserveLastModified, options.preserveExecutable) |
Metadata
Metadata
Assignees
Labels
No labels