FileSystemManager.rmdir

FileSystemManager.rmdir(Object object)

删除目录

输入

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

属性类型默认值是否必填说明
dirPathstring要删除的目录路径

输出

fail 回调函数参数 Object

属性类型说明
errMsgstring错误信息
说明
fail no such file or directory ${dirPath}目录不存在
fail directory not empty目录不为空
fail permission denied, open ${dirPath}指定的 dirPath 路径没有写权限