Summary
Creates the specified directory.
- Namespace
- Cake
.Common .IO - Containing Type
- DirectoryAliases
Syntax
[CakeMethodAlias]
[CakeAliasCategory("Create")]
public static void CreateDirectory(this ICakeContext context, DirectoryPath path)
Examples
CreateDirectory("publish");
Attributes
Type | Description |
---|---|
Cake |
An attribute used to mark script method aliases. |
Cake |
An attribute used for documentation of alias methods/properties. |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
path | DirectoryPath | The directory path. |
Return Value
Type | Description |
---|---|
void |