| [Overview][Constants][Types][Procedures and functions][Variables][Index] |
Determine if the specified path exists on the local file system
Source position: lazfileutils.pas line 108
function DirectoryExistsUTF8( |
const Directory: string |
):Boolean; |
Directory |
|
Directory name to locate in the file system |
True when the directory exists in the file system
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.
| lazarus-ccr.sourceforge.net |