Sign in Join
FPDoc Onlineexperiment

DirectoryExistsUTF8 function

In unit LazFileUtils

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

Declaration

pascal
function DirectoryExistsUTF8(const Directory: string): Boolean

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.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.