Summary
Sets the timestamp of a given file to a specified time.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Tasks - Containing Type
- GetTask
Syntax
protected void TouchFile(FileInfo file, DateTime touchDateTime)
Parameters
| Name | Type | Description |
|---|---|---|
| file | FileInfo | |
| touchDateTime | DateTime |
Return Value
| Type | Description |
|---|---|
| void |
