FileSystemManager.unlink

删除文件

输入

继承标准对象输入,扩展属性描述:

属性类型默认值是否必填说明
filePathstring要删除的文件路径

输出

fail 回调函数参数 Object

属性类型说明支持版本
errMsgstring错误信息
说明
fail permission denied, open ${path}指定的 path 路径没有读权限
fail no such file or directory ${path}文件不存在
fail operation not permitted, unlink ${filePath}传入的 filePath 是一个目录