IDirectory.

Path Property

Summary

Gets the path to the directory.
Namespace
Cake.Core.IO
Containing Type
IDirectory

Syntax

DirectoryPath Path { get; }

Examples

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

Value

Type Description
DirectoryPath The path.