CopyFiles(string[]) Constructor
Copies all files that match the specified globbing patterns and/or absolute paths. When this constructor is used, the module is evaluated only once against empty input document. This makes it possible to string multiple CopyFiles modules together in one pipeline. Keep in mind that the result of the whole pipeline in this case will be documents representing the files copied only by the last CopyFiles module in the pipeline (since the output documents of the previous CopyFiles modules will have been consumed by the last one).
Namespace
Statiq.Core
Containing Type
CopyFiles

Syntax

public CopyFiles(params string[] patterns)

Parameters

Name Type Description
patterns string[] The globbing patterns and/or absolute paths to read.