ExternalFileManager.rename method
ExternalFileManager › rename
Unofficial
Renames a monitored external file and updates its monitor and vault path.Signature:
rename(file: TExternalFile, path: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| file | TExternalFile | The external file to rename. |
| path | string | The destination external-file path. |
Returns: Promise<void> — A promise that resolves when the rename completes or the request is unsupported.