[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Resolves the specified file name to a physical file on the local file system.
Source position: lazfilecache.pas line 84
public function TFileStateCache.GetPhysicalFilenameCached( |
const AFileName: string; |
EmptyOnError: Boolean |
):string; |
AFileName |
|
File name resolved in the method. |
EmptyOnError |
|
True if an unresolved is empty when an error occurs. False if the value in AFileName is used when an error occurs. |
Path amd file name for a file name on symbolic links.
The implementation is platform-specific. On the Windows platform, the value in AFileName is used as the return value. On UNIX-like platforms, which can have symbol links, the file name must be resolved to the physical file on the local file system. The cache is recursively searched to resolve a file name which resides on a symbolic link.
The return value contains the resolve path and file name, or an empty string if the file name cannot be resolved. When EmptyOnError is enabled, the value in the AFileName is returned - even when not resolved.
Version 4.0 | Generated 2025-05-03 | Home |