nx.js
NamespacesSwitchFunctions

renameSync

renameSync(path, dest): void

Synchronously renames a file or directory.

Parameters

ParameterTypeDescription
pathPathLikeSource file path to rename.
destPathLikeDestination file path to rename to.

Returns

void

On this page