FakeFile.

Path Property

Summary

Gets the path to the file.
Namespace
Cake.Testing
Containing Type
FakeFile

Syntax

public FilePath Path { get; }

Examples

var file = context.FileSystem.GetFile("./README.md");
Information("{0} exists: {1}", file.Path, file.Exists);

Value

Type Description
FilePath The path.