GetInputFile(IReadOnlyFileSystem, NormalizedPath) Method
Gets a file representing an input.
Namespace
Statiq.Common
Containing Type
IReadOnlyFileSystemExtensions

Syntax

public static IFile GetInputFile(this IReadOnlyFileSystem fileSystem, in NormalizedPath path)

Parameters

Name Type Description
fileSystem IReadOnlyFileSystem The file system.
path NormalizedPath The path of the input file. If this is an absolute path, then a file representing the specified path is returned. If it's a relative path, then operations will search all current input paths.

Return Value

Type Description
IFile An input file.