[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Ensures that the "File is Executable" flag is up-to-date for a cache item.
Source position: lazfilecache.pas line 79
public function TFileStateCache.FileIsExecutableCached( |
const AFilename: string |
):Boolean; |
AFilename |
|
Name for the file examined in the method. |
True if the specified file is an executable binary.
FileIsExecutableCached ensures that the cache item for the specified file has an up-to-date value in its "File is Executable" flag. It calls Check to get the cache item with the given name, and to examine its flag values. If Check returns True for the flag, no additional actions are performed in the method.
Otherwise, the FileIsExecutable routine is called to get the return value. SetFlag is called to apply the fsciExecutable flag value to the cached item.
|
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. |
|
|
Determines if the specified file name is executable. |
Version 4.0 | Generated 2025-05-03 | Home |