Summary
Determines whether targetFile is more or equal
up-to-date than srcFile.
Syntax
[Function("up-to-date")]
public bool UpToDate(string srcFile, string targetFile)
Attributes
| Type |
Description |
| FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
| Name |
Type |
Description |
| srcFile |
string |
The file to check against the target file. |
| targetFile |
string |
The file for which we want to determine the status. |
Return Value
| Type |
Description |
| bool |
true if targetFile is more
or equal up-to-date than srcFile; otherwise,
false.
|