Enum FileNameLocation#

Enum Documentation#

enum Rose::StringUtility::FileNameLocation#

Find file names non-recursively.

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.

Values:

enumerator FILENAME_LOCATION_UNKNOWN#
enumerator FILENAME_LOCATION_USER#
enumerator FILENAME_LOCATION_LIBRARY#
enumerator FILENAME_LOCATION_NOT_EXIST#