Function ethers_solc::utils::source_files[][src]

pub fn source_files(root: impl AsRef<Path>) -> Vec<PathBuf>
Expand description

Returns a list of absolute paths to all the solidity files under the root

NOTE: this does not resolve imports from other locations

Example

use ethers_solc::utils;
let sources = utils::source_files("./contracts");