Skip to content

FileSystemManager.copyFile

JS
    FileSystemManager.copyFile(Object object)

复制文件

参数

  • Object object: 传入参数,具体的属性见下表

object 的属性说明:

属性键值类型是否必填说明
srcPathstring源文件路径,只可以是普通文件
destPathstring目标文件路径
successfunction接口调用成功的回调函数
failfunction接口调用失败的回调函数
completefunction接口调用结束的回调函数