IReadOnlyFileSystem.

GetRootFile(FilePath) Method

Summary

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

Syntax

IFile GetRootFile(FilePath path)

Parameters

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

Return Value

Type Description
IFile A root file.
GitHub