[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 108

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 include in the file attributes for Directory. For UNIX-like environments, the DirectoryExists function in SysUtils is used to get the return value.

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