Fix typo in File.copyTo KDoc
This commit is contained in:
@@ -171,7 +171,7 @@ private fun File.toRelativeStringOrNull(base: File): String? {
|
|||||||
* @param bufferSize the buffer size to use when copying.
|
* @param bufferSize the buffer size to use when copying.
|
||||||
* @return the [target] file.
|
* @return the [target] file.
|
||||||
* @throws NoSuchFileException if the source file doesn't exist.
|
* @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.
|
* @throws IOException if any errors occur while copying.
|
||||||
*/
|
*/
|
||||||
public fun File.copyTo(target: File, overwrite: Boolean = false, bufferSize: Int = DEFAULT_BUFFER_SIZE): File {
|
public fun File.copyTo(target: File, overwrite: Boolean = false, bufferSize: Int = DEFAULT_BUFFER_SIZE): File {
|
||||||
|
|||||||
Reference in New Issue
Block a user