[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lcl)

CheckIfFileIsSymlink

CheckIfFileIsSymlink - raises an exception if file is not a Symbolic Link

Declaration

Source position: fileutil.pas line 55

procedure CheckIfFileIsSymlink(

  const AFilename: String

);

Arguments

AFilename

  

AFileName - name of file for checking

Description

CheckIfFileIsSymlink - raises an exception if file is not a Symbolic Link

Otherwise no action

Errors

An exception is raised with appropriate message if file does not exist or is not a correct symbolic link (eg dangling link, circular link, read access denied, or not a symbolic link)

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