IDirectory.

Move(DirectoryPath) Method

Summary

Moves the directory to the specified destination path.
Namespace
Cake.Core.IO
Containing Type
IDirectory

Syntax

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