Function foundry_compilers_core::utils::strip_prefix
source ยท pub fn strip_prefix<'a>(source: &'a Path, root: &Path) -> &'a Path
Expand description
Strips root
from source
and returns the relative path.
pub fn strip_prefix<'a>(source: &'a Path, root: &Path) -> &'a Path
Strips root
from source
and returns the relative path.