Skip to content

MetadataCache.onRename method

MetadataCache › onRename

Unofficial

On rename of the cache: update metadata cache

Signature:

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

Parameters:

ParameterTypeDescription
fileTAbstractFileThe renamed file.
oldPathstringThe previous path of the file.

Returns: void