Gets an absolute directory.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only File System Extensions
Syntax
public static IDirectory GetDirectory(this IReadOnlyFileSystem fileSystem, in NormalizedPath path)
Parameters
Name | Type | Description |
---|---|---|
fileSystem | IReadOnlyFileSystem | The file system. |
path | NormalizedPath | The absolute path of the directory. |
Return Value
Type | Description |
---|---|
IDirectory | A directory. |