FakeDirectory.

Move(DirectoryPath) Method

Summary

Moves the directory to the specified destination path.
Namespace
Cake.Testing
Containing Type
FakeDirectory

Syntax

public void Move(DirectoryPath destination)

Examples

var dir = context.FileSystem.GetDirectory("./artifacts");
dir.Move("./artifacts-old");

Parameters

Name Type Description
destination DirectoryPath The destination path.

Return Value

Type Description
void