FileSystemExtensions Class

Summary

Contains extensions for IFileSystem.
Namespace
Cake.Core.IO
Base Types
  • object
FileSystemExtensions
object

Syntax

public static class FileSystemExtensions

Methods

Name Value Summary
Exist(IFileSystem, DirectoryPath) bool
Determines if a specified DirectoryPath exist.
static
Exist(IFileSystem, FilePath) bool
Determines if a specified FilePath exist.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin