MCPcopy Create free account
hub / github.com/argotorg/solidity / areArtifactsRequested

Function areArtifactsRequested

libsolidity/interface/StandardCompiler.cpp:249–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247/// @returns boolean indicating whether @_artifacts is contained in @_outputSelection. Helper function.
248template<ranges::range Range>
249bool 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.
260std::vector<std::string> evmObjectComponents(std::string const& _objectKind)

Callers 3

isAnyEthdebugRequestedFunction · 0.85

Calls 1

containsFunction · 0.85

Tested by

no test coverage detected