Sign in Join
FPDoc Onlineexperiment

InvalidateFileStateCache procedure

In unit LazFileCache

Invalidates one or more items in the state cache.

Declaration

pascal
procedure InvalidateFileStateCache(const Filename: string='')

Arguments

Filename

Name for the file or directory invalidated in the cache.

Description

Calls the IncreaseTimeStamp method in FileStateCache using the value in FileName as the target. When FileName exists in the cache, it is the only item affected in the method. If FileName is an empty string (''), all items in the cache are invalidated.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.