vertx / io.vertx.reactivex.core.file / FileSystem / rxCopy

rxCopy

open fun rxCopy(from: String, to: String): Completable

Copy a file from the path from to path to, asynchronously.

The copy will fail if the destination already exists.

Parameters

from - the path to copy from

to - the path to copy to

Return

open fun rxCopy(from: String, to: String, options: CopyOptions): Completable

Copy a file from the path from to path to, asynchronously.

Parameters

from - the path to copy from

to - the path to copy to

options - options describing how the file should be copied

Return