Function swri_system_util::Find
Defined in File file_util.h
Function Documentation
-
std::vector<std::string> swri_system_util::Find(const std::string &path, const std::string &expression, int max_depth = -1)
Return the list of files within a directory that match a regular expression.
- Parameters:
path – [in] Path to search from
expression – [in] Regular expression for the filename.
max_depth – [in] Max depth to search for files. Use -1 for unlimited depth.
- Returns:
The list of files.