FileSystemExtensions.

Exist(IFileSystem, DirectoryPath) Method

Summary

Determines if a specified DirectoryPath exist.
Namespace
Cake.Core.IO
Containing Type
FileSystemExtensions

Syntax

public static bool Exist(this IFileSystem fileSystem, DirectoryPath path)

Parameters

Name Type Description
fileSystem IFileSystem The file system.
path DirectoryPath The path.

Return Value

Type Description
bool Whether or not the specified directory exist.