Gets a directory representing an input.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only File System Extensions
Syntax
public static IDirectory GetInputDirectory(this IReadOnlyFileSystem fileSystem, in NormalizedPath path)
Parameters
| Name | Type | Description |
|---|---|---|
| fileSystem | IReadOnlyFileSystem | The file system. |
| path | NormalizedPath | The relative path of the virtual input directory or a null path for the root virtual input directory. This method will throw for an absolute path. |
Return Value
| Type | Description |
|---|---|
| IDirectory | A virtual input directory. |