FileSystemManager.mkdir

FileSystemManager.mkdir(Object object)

创建目录

输入

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

属性类型默认值是否必填说明
dirPathstring创建的目录路径

输出

fail 回调函数参数 Object

属性类型说明支持版本
errMsgstring错误信息
说明
fail no such file or directory ${dirPath}上级目录不存在
fail permission denied, open ${dirPath}指定的 filePath 路径没有写权限
fail file already exists ${dirPath}有同名文件或目录