core/src/find library

Classes

Find
Implementation for the _find function.
FindItem
Holds details of a file system entity returned by the find function.
FindProgress
Progress tracker for find operations.
InternalProgress
Base class for operations that return progress information.

Functions

find(String pattern, {bool caseSensitive = false, bool recursive = true, bool includeHidden = false, String workingDirectory = '.', List<FileSystemEntityType> types = const [Find.file]}) FindProgress
Find files and directories matching a glob pattern.
findCore(String pattern, {required ProgressCallback progress, bool caseSensitive = false, bool recursive = true, bool includeHidden = false, String workingDirectory = '.', List<FileSystemEntityType> types = const [Find.file]}) → void
Returns the list of files in the current and child directories that match the passed glob pattern.

Typedefs

CancelableLineAction = bool Function(String line)
Callback function type for cancellable line processing. Returns true to continue processing, false to stop.
LineAction = void Function(String line)
File system search and discovery utilities.
ProgressCallback = bool Function(FindItem item)