| 113 | return {}; |
| 114 | } |
| 115 | |
| 116 | std::string JoinCandidatesForError(const std::vector<std::filesystem::path>& candidates) |
| 117 | { |
| 118 | std::string out; |
| 119 | std::error_code ec; |
| 120 | for (const auto& candidate : candidates) |
| 121 | { |
| 122 | if (!out.empty()) |
| 123 | out += ", "; |
| 124 | out += std::filesystem::absolute(candidate, ec).string(); |
| 125 | } |
| 126 | return out; |
| 127 | } |
| 128 | |
| 129 | bool ModMatchesToken(const Mod& mod, const std::string& token) |
no test coverage detected