FPDoc Online › LazUtils › LazFileCache LazFileCache unit Source Save as PDF Implements a caching mechanism for file and directory state information.
lazfilecache.pas implement a caching mechanism used for file and
directory state information. It is used in the implementation of the Lazarus
IDE, and in the LCL package system.
lazfilecache.pas is part of the
LazUtils package.
Classes and records TFileStateCacheclass Implements a state caching mechanism for files and directories. TFileStateCacheItemclass Contains information about a file or directory in the state caching mechanism.
Procedures and functions Types TFileStateCacheItemFlagenumeration Represents flag values used for files or directories in the state caching mechanism. TFileStateCacheItemFlagsset Set type used to store TFileStateCacheItemFlag enumeration values. TOnChangeFileStateTimeStampprocedure type Specifies an event handler signalled when the timestamp for a cached item is changed. TOnFileAgeCachedprocedure type Specifies an event handler signalled to get the file age for an item in the cache. TOnFileExistsCachedprocedure type Specifies an event handler signalled to get the "file exists" flag for an item in the cache.
Constants Variables FileStateCachevariable Unit global variable with the class instance for the state caching mechanism. OnFileAgeCachedvariable Event handler signalled to get the file age for the specified file name. OnFileExistsCachedvariable Event handler signalled to get the File Exists flag for the specified file name.
Uses An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.