Summary
Moves the file to the specified destination path.
- Namespace
- Cake
.Testing - Containing Type
- FakeFile
Syntax
public void Move(FilePath destination)
Examples
var file = context.FileSystem.GetFile("./README.md");
file.Move("./artifacts/README.md");
Parameters
| Name | Type | Description |
|---|---|---|
| destination | FilePath | The destination path. |
Return Value
| Type | Description |
|---|---|
| void |
