Function ethers_solc::utils::source_name

source ·
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