RoadmapShopEvents
Skip to main content

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

IFileSystemCopyFileOptions interface

The options for FileSystem.copyFile()

Signature:

export interface IFileSystemCopyFileOptions extends IFileSystemCopyFileBaseOptions 

Extends: IFileSystemCopyFileBaseOptions

Properties

PropertyModifiersTypeDescription
alreadyExistsBehavior?AlreadyExistsBehavior

(Optional) Specifies what to do if the destination path already exists.

(Inherited from IFileSystemCopyFileBaseOptions)

destinationPathstringThe path that the object will be copied to. The path may be absolute or relative.
sourcePathstring

The path of the existing object to be copied. The path may be absolute or relative.

(Inherited from IFileSystemCopyFileBaseOptions)