IReadOnlyFileSystem.

GetFiles(IDirectory, string[]) Method

Summary

Gets matching files based on globbing patterns and/or absolute paths. If any absolute paths are provided, only those that actually exist are returned.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.IO
Containing Type
IReadOnlyFileSystem

Syntax

IEnumerable<IFile> GetFiles(IDirectory directory, params string[] patterns)

Parameters

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

Return Value

Type Description
IEnumerable<IFile> All files in the specified directory that match the globbing patterns and/or absolute paths.
GitHub