Reads all files that match the specified globbing pattern and/or absolute path. This allows you to
specify different patterns and/or paths depending on the input.
- Namespace
- Statiq
.Core - Containing Type
- ReadFiles
Syntax
public ReadFiles(Config<string> pattern)
Parameters
Name | Type | Description |
---|---|---|
pattern | Config |
A delegate that returns a globbing patterns and/or absolute paths. If the delegate returns null or an empty string pattern, no files will be read. |