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

TFileSearcher.FollowSymLink

Indicates if a search process directory paths that are symbolic links.

Declaration

Source position: fileutil.pas line 149

public property TFileSearcher.FollowSymLink : Boolean
  read FFollowSymLink
  write FFollowSymLink;

Description

FollowSymLink is a Boolean property which indicates if the Search method should process directory paths that are symbolic links on the local file system. The default value for the property is True as assigned in the Create method.

FollowSymLink is used in the Search method when a directory entry is detected in FileInfo that FileIsSymLink identifies as a symbolic link. When set to False, the directory is not processed; the OnDirectoryEnter event handler is not signalled and the method ignores the directory path. The OnDirectoryFound event handler is signalled for the iterator value.

See also

TFileSearcher.Create

  

Constructor for the class instance.

TFileSearcher.OnDirectoryFound

  

Event handler signalled when a new directory is found in the Search method.

TFileIterator.FileInfo

  

Contains file information for the current entry in the iterator.

TFileIterator.IsDirectory

  

True when the current file system entry is a directory.

FileIsSymLink

  

Indicates if the specified file is a symbolic link in the file system.


Version 3.2 Generated 2024-02-25 Home