[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazFileCache' (#lazutils)

OnFileAgeCached

Event handler signalled to get the file age for the specified file name.

Declaration

Source position: lazfilecache.pas line 124

var OnFileAgeCached: TOnFileAgeCached = Nil;

Description

OnFileAgeCached is a TOnFileAgeCached variable with the unit global event handler used to get the file age for a given file name. It is signalled from the FileAgeCached routine (when assigned), and is used instead of calling the TFileStateCache.FileAgeCached method or the FileAgeUTF8 routine in LazUtils.

See also

TOnFileAgeCached

  

Specifies an event handler signalled to get the file age for an item in the cache.

FileAgeCached

  

Gets the file age for the specified file or directory.

FileStateCache

  

Unit global variable with the class instance for the state caching mechanism.

TFileStateCache.FileAgeCached

  

Ensures that the file age is up-to-date for a cache item.

FileAgeUTF8

  

Returns the last modification time for the file in FileDate format.


Version 4.0 Generated 2025-05-03 Home