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

IFileSystemMoveOptions interface

The options for FileSystem.move()


export interface IFileSystemMoveOptions 


Property Type Description
destinationPath string The new path for the object. The path may be absolute or relative.
ensureFolderExists boolean If true, will ensure the folder is created before writing the file. Defaults to false.
overwrite boolean If true, will overwrite the file if it already exists. Defaults to true.
sourcePath string The path of the existing object to be moved. The path may be absolute or relative.