diff --git a/docs/xml/lazutils/fileutil.xml b/docs/xml/lazutils/fileutil.xml index 37e8b9ca07..88379e8df3 100644 --- a/docs/xml/lazutils/fileutil.xml +++ b/docs/xml/lazutils/fileutil.xml @@ -1649,7 +1649,7 @@ the specified file masks found in the specified search paths.
ASearchPath contains one or more paths examined in the method, and can contain multiple path names separated by the value in -PathSeparator. Each delimited path value in ASearchPath is resolved +PathSeparator. Each delimited path value in ASearchPath is resolved by calling the ResolveDots function, and processed in the method. For example:
@@ -1676,45 +1676,38 @@ part of the file specification. It is not trimmed, and will most likely prevent a match for the mask value.-ASearchPath contains the locations examined in the method, and can -contain multiple path names separated by the PathSeparator -character. Each delimited path value in ASearchPath is resolved -using ResolveDots and processed in the method. -
-ASearchSubDirs includes subdirectories found in ASearchPath in the search process when set to True. When set to False only the -specified paths are searched and their subdirectories are ignored. +specified path(s) are searched and their subdirectories are ignored. The +default value is True and includes subdirectories.
-CaseSensitive determines whether case sensitive comparisons are -performed for paths, files, and directories processed in the method. The -default value is False. +CaseSensitive determines whether file masks in ASearchMask are +handled in a case-sensitive manner. The default value is False.
-ASearchSubDirs determines whether subdirectories found in the search -path are processed in the method. The default value is True and includes -subdirectories. +Use the FileAttribute property to control the file attributes needed +for any file that is considered a match in the search process. The default +value (faAnyFile) allows all files to be considered.
-Use the FileAttribute property to control the file attributes -included in the search process. The default value (faAnyFile) -allows all files to be considered. -
--Use the DirectoryAttribute property to control whether directory -names are included in the search process. The default value -(faDirectory) includes directories. +Use the DirectoryAttribute property to control the directory +attributes needed for any directory that is considered a match in the search +process. The default value (faDirectory) includes directories.
Use the FollowSymLink property to indicate whether symbolic links -in the file system are followed in the method. +in the file system are followed in the method. When enabled, a path or file +name that is a symbolic link is expanded (when accepted) to get the real path +on the local file system. By default, FollowSymLink is enabled in TFileSearcher.
Search processes each of the path values found in ASearchPath. FindFirstUTF8 is called to get file and directory attributes examined in the process. Values in FileAttribute and DirectoryAttribute are checked to determine which directories -and files are available in the method. +and files are available in the method. FollowSymLink determines whether an +internal hash of visited directories is maintained in the method and used to +resolve symbolic links.
The OnQueryFileFound and OnQueryDirectoryFound events handlers are signalled