Function ethers_solc::utils::find_import_paths
source · pub fn find_import_paths(contract: &str) -> impl Iterator<Item = Match<'_>>
Expand description
Returns all path parts from any solidity import statement in a string,
import "./contracts/Contract.sol";
-> "./contracts/Contract.sol"
.
See also https://docs.soliditylang.org/en/v0.8.9/grammar.html