copyDir

open fun copyDir(srcDirPath: String, destDirPath: String, listener: FileUtils.OnReplaceListener): Boolean

Copy the directory.

Return

{@code true}: success{@code false}: fail

Parameters

srcDirPath

The path of source directory.

destDirPath

The path of destination directory.

listener

The replace listener.

open fun copyDir(srcDir: File, destDir: File, listener: FileUtils.OnReplaceListener): Boolean

Copy the directory.

Return

{@code true}: success{@code false}: fail

Parameters

srcDir

The source directory.

destDir

The destination directory.

listener

The replace listener.