Skip to content

BookmarksPluginInstance.onFileRename method

BookmarksPluginInstance › onFileRename

Unofficial

Handle a file rename and update affected bookmarks.

Signature:

onFileRename(file: TFile, oldPath: string): void

Parameters:

Parameter Type Description
file TFile The renamed file.
oldPath string The previous file path.

Returns: void