MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / JoinCandidatesForError

Function JoinCandidatesForError

engine/Poseidon/Core/ModCollection.cpp:115–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 return {};
114}
115
116std::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
129bool ModMatchesToken(const Mod& mod, const std::string& token)

Callers 1

ResolveModPathListFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected