file::up-to-date

Determines whether targetFile is more or equal up-to-date than srcFile.

Usage

bool file::up-to-date(srcFile, targetFile)

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

true if targetFile is more or equal up-to-date than srcFile; otherwise, false.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.91.4312.0)