Gets a directory representing a root directory.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only File System Extensions
Syntax
public static IDirectory GetRootDirectory(this IReadOnlyFileSystem fileSystem)
Parameters
Name | Type | Description |
---|---|---|
fileSystem | IReadOnlyFileSystem | The file system. |
Return Value
Type | Description |
---|---|
IDirectory | A root directory. |