pub fn source_name(source: &Path, root: impl AsRef<Path>) -> &Path
Returns the source name for the given source path, the ancestors of the root path /Users/project/sources/contract.sol -> sources/contracts.sol
/Users/project/sources/contract.sol
sources/contracts.sol