Namespaces

Types in Fake

Type FileSystemHelper

Namespace Fake

Methods

Properties

Public static methods

bool allFilesExist(IEnumerable<string> files)

Checks if all given files exists

void checkFileExists(string fileName)

Checks if the file exists on disk.

DirectoryInfo directoryInfo(string path)

Creates a DirectoryInfo for the given path

FileInfo fileInfo(string path)

Creates a FileInfo for the given path

FileInfo[] filesInDir(DirectoryInfo dir)

Gets all files in the directory

FileSystemInfo fileSystemInfo(string path)

Creates a FileInfo or a DirectoryInfo for the given path

string FullName(string fileName)

Converts a file to it's full file system name

DirectoryInfo[] subDirectories(DirectoryInfo dir)

Gets all subdirectories

Public properties

string currentDirectory get;

Gets the current directory