FileHelperAliases.

FileTouch(ICakeContext, FilePath) Method

Summary

Sets the last write time of a file to the current time
Assembly
Cake.FileHelpers.dll
Namespace
Cake.FileHelpers
Containing Type
FileHelperAliases

Syntax

public static void FileTouch(this ICakeContext context, FilePath file)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
file FilePath The file to touch

Return Value

Type Description
void