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:

Parameter Type Description
file TAbstractFile The renamed file.
oldPath string The previous path of the file.

Returns: void