CopyFiles(Config<IEnumerable<string>>) Constructor
Copies all files that match the specified globbing patterns and/or absolute paths. This allows you to specify different patterns and/or paths depending on the input document. When this constructor is used, the module is evaluated once for every input document, which may result in copying the same file more than once (and may also result in IO conflicts since copying is typically done in parallel). It is recommended you only specify a function-based source path if there will be no overlap between the path returned from each input document.
Namespace
Statiq.Core
Containing Type
CopyFiles

Syntax

public CopyFiles(Config<IEnumerable<string>> patterns)

Parameters

Name Type Description
patterns Config<IEnumerable<string>> A delegate that returns one or more globbing patterns and/or absolute paths.