[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the physical file name for the specified file or directory name.
Source position: lazfilecache.pas line 107
function GetPhysicalFilenameCached( |
const AFilename: string; |
EmptyOnError: Boolean |
):string; |
AFilename |
|
File name resolved in the routine. |
EmptyOnError |
|
True to return an empty string if AFilename is not found. |
Actual file name for the symbolic link or reference.
GetPhysicalFilenameCached is a String function used to get the physical file name for the value specified in AFileName. The return value contains the actual file name for a symbolic link or reference on the local file system.
EmptyOnError indicates that the return value can be an empty string ('') if AFilename cannot be resolved. When set to False, the original file in AFileName is used as the return value.
GetPhysicalFilenameCached provides two (2) ways to resolve the value in AFilename:
|
Resolves the specified file name to a physical file on the local file system. |
|
|
Unit global variable with the class instance for the state caching mechanism. |
Version 4.0 | Generated 2025-05-03 | Home |