Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > IIncrementalCopyOperation

IIncrementalCopyOperation interface

Used to specify a selection of files to copy from a specific source folder to one or more destination folders.

Signature:

export interface IIncrementalCopyOperation extends ICopyOperation 

Extends: ICopyOperation

Properties

PropertyModifiersTypeDescription
onlyIfChanged?boolean(Optional) If true, the file will be copied only if the source file is contained in the IHeftTaskRunIncrementalHookOptions.changedFiles map.