DataAdapter
โบ rename
DataAdapter.rename() method
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 normalizePath() to normalize beforehand. |
normalizedNewPath | string | new path to file/folder, use normalizePath() to normalize beforehand. |
Returns:
Promise<void>