| 678 | } |
| 679 | |
| 680 | static bool IsPathExcluded(const std::vector<std::string>& excluded_paths, const std::string& path) |
| 681 | { |
| 682 | return std::find_if(excluded_paths.begin(), excluded_paths.end(), [&path](const std::string& entry) { return !entry.empty() && path.starts_with(entry); }) != excluded_paths.end(); |
| 683 | } |
| 684 | |
| 685 | void GameList::ScanDirectory(const char* path, bool recursive, bool only_cache, const std::vector<std::string>& excluded_paths, |
| 686 | const PlayedTimeMap& played_time_map, const INISettingsInterface& custom_attributes_ini, ProgressCallback* progress) |
no test coverage detected