mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
replace DoFileSearch with optimized version
This commit is contained in:
parent
f16599f4a8
commit
c5fa470ad8
12 changed files with 97 additions and 34 deletions
|
@ -9,9 +9,9 @@
|
|||
|
||||
namespace Common
|
||||
{
|
||||
std::vector<std::string> DoFileSearch(const std::vector<std::string>& exts,
|
||||
const std::vector<std::string>& directories,
|
||||
// Callers can pass empty "exts" to indicate they want all files + directories in results
|
||||
// Otherwise, only files matching the extensions are returned
|
||||
std::vector<std::string> DoFileSearch(const std::vector<std::string>& directories,
|
||||
const std::vector<std::string>& exts = {},
|
||||
bool recursive = false);
|
||||
std::vector<std::string> FindSubdirectories(const std::vector<std::string>& directories,
|
||||
bool recursive);
|
||||
} // namespace Common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue