IFile.

Path Property

Summary

Gets the path to the file.
Namespace
Cake.Core.IO
Containing Type
IFile

Syntax

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.