Fix typo in File.copyTo KDoc

This commit is contained in:
AJ Alt
2017-11-21 12:03:47 -08:00
committed by Dmitry Jemerov
parent 949f9b9342
commit 8297fee615
@@ -171,7 +171,7 @@ private fun File.toRelativeStringOrNull(base: File): String? {
* @param bufferSize the buffer size to use when copying.
* @return the [target] file.
* @throws NoSuchFileException if the source file doesn't exist.
* @throws FileAlreadyExistsException if the destination file already exists and 'rewrite' argument is set to `false`.
* @throws FileAlreadyExistsException if the destination file already exists and [overwrite] argument is set to `false`.
* @throws IOException if any errors occur while copying.
*/
public fun File.copyTo(target: File, overwrite: Boolean = false, bufferSize: Int = DEFAULT_BUFFER_SIZE): File {