Function ethers::solc::utils::source_name[][src]

pub fn source_name(source: &Path, root: impl AsRef<Path>) -> &Path
Expand description

Returns the source name for the given source path, the ancestors of the root path /Users/project/sources/contract.sol -> sources/contracts.sol