SearchFiles¶
Searches for files in specified paths
Declaration¶
Source position: fpmkunit.pp line 1729
procedure SearchFiles(AFileName: string; ASearchPathPrefix: string;
Recursive: Boolean; var List: TStrings);
Arguments¶
| Name | Description |
|---|---|
| AFileName | Filename pattern to search for |
| ASearchPathPrefix | Search path prefix |
| Recursive | Whether to search recursively |
| List | List to store found files |
Description¶
SearchFiles searches for files matching a filename pattern within specified search paths. This procedure supports recursive directory traversal and wildcard pattern matching for file discovery.
The procedure populates a provided list with all matching files found during the search, enabling file location and collection for build operations.