Gets a path by combining it with the root path.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only File System Extensions
Syntax
public static NormalizedPath GetRootPath(this IReadOnlyFileSystem fileSystem, in NormalizedPath path)
Parameters
Name | Type | Description |
---|---|---|
fileSystem | IReadOnlyFileSystem | The file system. |
path | NormalizedPath | The path to combine with the root path.
If this is Null , returns the root path. |
Return Value
Type | Description |
---|---|
NormalizedPath | The path. |