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

InvalidateFileStateCache

Signals the OnInvalidateFileStateCache event handler

Declaration

Source position: lazfileutils.pas line 187

procedure InvalidateFileStateCache(

  const Filename: string = ''

);

Description

InvalidateFileStateCache is a procedure used to signal the OnInvalidateFileStateCache event handler for the specified file name. InvalidateFileStateCache is used when an invalid file state is detected in routines which perform file manipulation, such as:

InvalidateFileStateCache is significant for UNIX-like environments only, such as Linux and Amiga. InvalidateFileStateCache is not used in Windows environments.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.