Summary
Creates a directory at the specified path.
- Namespace
- Cake
.Testing - Containing Type
- Fake
File System Extensions
Syntax
public static FakeDirectory CreateDirectory(this FakeFileSystem fileSystem, DirectoryPath path)
Parameters
Name | Type | Description |
---|---|---|
fileSystem | FakeFileSystem | The file system. |
path | DirectoryPath | The path. |
Return Value
Type | Description |
---|---|
FakeDirectory | The same FakeDirectory instance so that multiple calls can be chained. |