Searches for files in specified paths
Source position: fpmkunit.pp line 1705
procedure SearchFiles( |
AFileName: string; |
ASearchPathPrefix: string; |
Recursive: Boolean; |
var List: TStrings |
); |
AFileName |
|
Filename pattern to search for |
ASearchPathPrefix |
|
Search path prefix |
Recursive |
|
Whether to search recursively |
List |
|
List to store found files |
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.