[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LazFileUtils' (#lazutils)

GetUnixPhysicalFilename

Resolves all symlinks in Filename, including all directories

Declaration

Source position: lazfileutils.pas line 147

function GetUnixPhysicalFilename(

  const Filename: string;

  ExceptionOnError: Boolean

):string;

Description

If a symlink can not be resolved, and ExceptionOnError is False, the function returns the empty string (''). If ExceptionOnError is True, it raises an EFOpenError with a message containing more details.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.