| 247 | /// @returns boolean indicating whether @_artifacts is contained in @_outputSelection. Helper function. |
| 248 | template<ranges::range Range> |
| 249 | bool areArtifactsRequested(Json const& _outputSelection, Range&& _artifacts) |
| 250 | { |
| 251 | for (auto const& fileRequests: _outputSelection) |
| 252 | for (auto const& requests: fileRequests) |
| 253 | for (auto const& request: requests) |
| 254 | if (ranges::contains(_artifacts, request.get<std::string>())) |
| 255 | return true; |
| 256 | return false; |
| 257 | } |
| 258 | |
| 259 | /// @returns all artifact names of the EVM object, either for creation or deploy time. |
| 260 | std::vector<std::string> evmObjectComponents(std::string const& _objectKind) |
no test coverage detected