Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > IFileSystemMoveOptions

IFileSystemMoveOptions interface

The options for FileSystem.move()

Signature:

export interface IFileSystemMoveOptions 

Properties

PropertyModifiersTypeDescription
destinationPathstringThe new path for the object. The path may be absolute or relative.
ensureFolderExists?boolean(Optional) If true, will ensure the folder is created before writing the file.
overwrite?boolean(Optional) If true, will overwrite the file if it already exists.
sourcePathstringThe path of the existing object to be moved. The path may be absolute or relative.