Gets a file representing an output.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only File System Extensions
Syntax
public static IFile GetOutputFile(this IReadOnlyFileSystem fileSystem, in NormalizedPath path)
Parameters
Name | Type | Description |
---|---|---|
fileSystem | IReadOnlyFileSystem | The file system. |
path | NormalizedPath | The path of the output file. If this is an absolute path, then a file representing the specified path is returned. If it's a relative path, then it will be combined with the current output path. |
Return Value
Type | Description |
---|---|
IFile | An output file. |