Rose::StringUtility::FileNameLocation
Find file names non‐recursively.
Synopsis
Declared in <src/Rose/StringUtility/FileUtility.h>
enum FileNameLocation;
Members
Name |
Description |
|
Location cannot be determined. |
|
User/application file. |
|
System/library file. |
|
File does not exist. |
Description
Scans the directory named pathString and returns a list of files in that directory which have patternString as a substring of their name. Note that patternString is not a glob or regular expression. The return value strings are formed by concatenating the pathString and the file name with an intervening slash.
This function does not work for non‐POSIX systems. Consider using std::filesystem instead, which has a directory iterator that works for non‐POSIX systems also.
Created with MrDocs