* 重命名文件或文件夹 * @param oldPath 原路径 * @param newPath 新路径
(oldPath: string, newPath: string)
| 240 | * @param newPath 新路径 |
| 241 | */ |
| 242 | static async renameFileOrFolder(oldPath: string, newPath: string): Promise<void> { |
| 243 | return await invoke<void>('rename_file_or_folder', { oldPath, newPath }); |
| 244 | } |
| 245 | |
| 246 | /** |
| 247 | * 删除文件 |
no outgoing calls
no test coverage detected