[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Ensures that a cached item has an up-to-date "directory path exists" flag value.
Source position: lazfilecache.pas line 77
public function TFileStateCache.DirPathExistsCached( |
const AFilename: string |
):Boolean; |
AFilename |
|
Name of the directory to examine in the method. |
True if the directory exists on the local file system and in the cache.
DirPathExistsCached ensures that a cached item with the name in AFileName has an up-to-date "directory path exists" flag value in the cache.
Calls Check to use the valid flag value for an existing TFileStateCacheItem instance in the cache. If the return value from Check is True, no additional actions are performed in the method.
Otherwise, the flag value was not present for the specified cache item. The DirPathExists routine is called to determine if the file exists on the local file system. SetFlag is called to update the fsciDirectory flag for the cache item with the given name.
|
Checks the specified cache item to get a specific flag value. |
|
|
Name for the file or directory in the cache item. |
|
|
Physical name for the file or directory in the cache item. |
|
|
Contains status flags for the cached file or directory item. |
Version 4.0 | Generated 2025-05-03 | Home |