| 223 | } |
| 224 | |
| 225 | bool ScriptScanner::HasScript(const ContentInfo &ci, bool md5sum) |
| 226 | { |
| 227 | for (const auto &item : this->info_list) { |
| 228 | if (IsSameScript(ci, md5sum, *item.second, this->GetDirectory())) return true; |
| 229 | } |
| 230 | return false; |
| 231 | } |
| 232 | |
| 233 | std::optional<std::string_view> ScriptScanner::FindMainScript(const ContentInfo &ci, bool md5sum) |
| 234 | { |
nothing calls this directly
no test coverage detected