Gets a temp path by combining it with the root path and temp path.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only File System Extensions
Syntax
public static NormalizedPath GetTempPath(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 and temp path.
If this is Null, returns the root path combined with the temp path. |
Return Value
| Type | Description |
|---|---|
| NormalizedPath | The temp path. |