[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Ensures that the file age is up-to-date for a cache item.
Source position: lazfilecache.pas line 83
public function TFileStateCache.FileAgeCached( |
const AFileName: string |
):LongInt; |
AFileName |
|
Name for the file examined in the method. |
File age (last modification date) for the file.
FileAgeCached differs from the related methods in the class instance. It returns a LongInt value instead of a Boolean, and contains the value from the FileAge routine in the RTL SysUtils unit. The value represents the last date that the file was modified, and the integer value does not include any time-related information for the modification timestamp.
FileAgeCached cannot be used for directory names; the value is always -1 when used for a directory name.
FileAge is not related to the TimeStamp property for the cache.
Version 4.0 | Generated 2025-05-03 | Home |