Function canonicalize_dependency_path_relative_to

Source
fn canonicalize_dependency_path_relative_to(
    base: &Path,
    dependency: Dependency,
) -> Result<Dependency>
Expand description

If dependency has a relative path, assume it’s relative to base and canonicalize it.

This needs to be done when collecting local dependencies from manifests which may be located at different places on the file system.