微信小游戏开发文档-小游戏文件API string FileSystemManager.rmdirSync(Object filePath)
string FileSystemManager.rmdirSync(Object filePath)
FileSystemManager.rmdir 的同步版本
参数
Object filePath
要删除的目录路径
返回值
string errMsg
错误信息
errMsg 的合法值
| 值 | 说明 |
|---|---|
| fail no such file or directory ${dirPath} | 目录不存在 |
| fail directory not empty | 目录不为空 |
| fail permission denied, open ${dirPath} | 指定的 dirPath 路径没有写权限 |

