Skip to content

SyncPluginInstance.boundOnFileRename method

SyncPluginInstance › boundOnFileRename

Unofficial

SyncPluginInstance.onFileRename bound to the instance, registered for the vault rename event.

Signature:

boundOnFileRename(file: TAbstractFile, oldPath: string): void

Parameters:

ParameterTypeDescription
fileTAbstractFileThe renamed file.
oldPathstringThe path before the rename.

Returns: void