IReadOnlyFileSystem.

GetRootDirectory(DirectoryPath) Method

Summary

Gets a directory representing a root directory.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.IO
Containing Type
IReadOnlyFileSystem

Syntax

IDirectory GetRootDirectory(DirectoryPath path = null)

Parameters

Name Type Description
path DirectoryPath The path of the root directory. If this is an absolute path, then a directory representing the specified path is returned. If it's a relative path, then it will be combined with the current root path. If this is null then the base root directory is returned.

Return Value

Type Description
IDirectory A root directory.
GitHub