表盘 APIhmFS 文件系统模块rename版本:v3.xrename重命名文件类型(oldPath: string, newPath: string) => result参数参数说明必填类型默认值oldPath旧文件路径是string-newPath新文件路径是string-result说明类型操作结果,0 表示成功number代码示例const result = hmFS.rename('path/to/old_file.txt', 'path/to/new_file.txt')console.log(result)