DataAdapter.rename method
DataAdapter › rename
Official
Rename a file or folder.Signature:
rename(normalizedPath: string, normalizedNewPath: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| normalizedPath | string | current path to file/folder, use {@link normalizePath} to normalize beforehand. |
| normalizedNewPath | string | new path to file/folder, use {@link normalizePath} to normalize beforehand. |