Function prs_lib::store::relative_path
source · [−]pub fn relative_path<'a>(
root: &'a Path,
path: &'a Path
) -> Result<&'a Path, StripPrefixError>
Expand description
Get relative path in given root.
pub fn relative_path<'a>(
root: &'a Path,
path: &'a Path
) -> Result<&'a Path, StripPrefixError>
Get relative path in given root.