GetInputFiles(IReadOnlyFileSystem, IEnumerable<string>) Method
Gets matching input files based on globbing patterns and/or absolute paths. If any absolute paths are provided, only those that actually exist are returned.
Namespace
Statiq.Common
Containing Type
IReadOnlyFileSystemExtensions

Syntax

public static IEnumerable<IFile> GetInputFiles(this IReadOnlyFileSystem fileSystem, IEnumerable<string> patterns)

Parameters

Name Type Description
fileSystem IReadOnlyFileSystem The file system.
patterns IEnumerable<string> The globbing patterns and/or absolute paths.

Return Value

Type Description
IEnumerable<IFile> All input files that match the globbing patterns and/or absolute paths.