CopyFiles.

CopyFiles(DocumentConfig) Constructor

Summary

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.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.IO
Containing Type
CopyFiles

Syntax

public CopyFiles(DocumentConfig patterns)

Parameters

Name Type Description
patterns DocumentConfig A delegate that returns one or more globbing patterns and/or absolute paths.

Return Value

Type Description
void
GitHub