Summary
Creates a file at the specified path.
- Namespace
- Cake
.Testing - Containing Type
- Fake
File System Extensions
Syntax
public static FakeFile CreateFile(this FakeFileSystem fileSystem, FilePath path, FileAttributes attributes = None)
Parameters
Name | Type | Description |
---|---|---|
fileSystem | FakeFileSystem | The file system. |
path | FilePath | The path. |
attributes | FileAttributes | The file attributes to set. |