Skip to content

Commit

Permalink
specify copyTo returns FileX
Browse files Browse the repository at this point in the history
  • Loading branch information
sayantan-kgp committed Mar 8, 2021
1 parent afdc4e2 commit 5991c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/balti/filex/FileX.kt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ abstract class FileX internal constructor(val isTraditional: Boolean) {

private val Copy = Copy(this)

fun copyTo(target: FileX, overwrite: Boolean = false, bufferSize: Int = DEFAULT_BUFFER_SIZE) = Copy.copyTo(target, overwrite, bufferSize)
fun copyTo(target: FileX, overwrite: Boolean = false, bufferSize: Int = DEFAULT_BUFFER_SIZE): FileX = Copy.copyTo(target, overwrite, bufferSize)
fun copyRecursively(
target: FileX,
overwrite: Boolean = false,
Expand Down

0 comments on commit 5991c88

Please sign in to comment.