Function foundry_compilers::utils::source_name
source ยท pub fn source_name<'a>(source: &'a Path, root: &Path) -> &'a 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