Home > @rushstack/node-core-library > FileSystem > move
FileSystem.move() method
Moves a file. The folder must exist, unless the ensureFolderExists
option is provided. Behind the scenes it uses fs-extra.moveSync()
Signature:
static move(options: IFileSystemMoveOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
options | IFileSystemMoveOptions |
Returns:
void