Skip to content

FileSystemAdapter.rename method

FileSystemAdapter › rename

Official

Renames a file.

Signature:

rename(normalizedPath: string, normalizedNewPath: string): Promise<void>

Parameters:

ParameterTypeDescription
normalizedPathstring
normalizedNewPathstring

Returns: Promise<void>