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

DirectoryExistsUTF8

Determine if the specified path exists on the local file system.

Declaration

Source position: lazfileutils.pas line 112

function DirectoryExistsUTF8(

  const Directory: string

):Boolean;

Arguments

Directory

  

Directory name to locate in the file system.

Function result

True when the directory exists in the file system.

Description

DirectoryExistsUTF8 is Boolean function used to determine if the specified path exists on the local file system. For the Windows environment, FileGetAttrUTF8 is called to see if FILE_ATTRIBUTE_DIRECTORY is included in the file attributes for the specified Directory. For UNIX-like environments, the DirectoryExists function in the SysUtils unit is used to get the return value.


Version 3.2 Generated 2024-02-25 Home