[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Compares file names after resolving symbolic links.
Source position: fileutil.pas line 54
function ComparePhysicalFilenames( |
const Filename1: string; |
const Filename2: string |
):Integer; |
Filename1 |
|
First file name resolved and used in the comparison. |
Filename2 |
|
Second file name resolved and used in the comparison. |
Relative sort order for the compared values.
ComparePhysicalFilenames, like CompareFileNames, is used to compare file name using the case-sensitivity enforced for file names on the platform.
Calls GetPhysicalFilename to ensure that values in Filename1 and Filename2 are resolved to the actual file names on the local file system. This is significant for UNIX-like platforms where the file name arguments may be symbolic links on the file system.
Calls CompareFileNames in LazFileUtils to perform the comparison and get the return value for the routine.
|
Gets the relative sort order for the specified file names. |
|
|
Gets the physical file name for a symbolic link on the local file system. |
Version 3.2 | Generated 2024-02-25 | Home |