FakeDirectory.

Path Property

Summary

Gets the path to the directory.
Namespace
Cake.Testing
Containing Type
FakeDirectory

Syntax

public DirectoryPath Path { get; }

Examples

var dir = context.FileSystem.GetDirectory("./artifacts");
Information("{0} exists: {1}", dir.Path, dir.Exists);

Value

Type Description
DirectoryPath The path.