Skip to main content

contained_library_path

Function contained_library_path 

Source
pub fn contained_library_path(
    owner: &Path,
    canonical: &Path,
    lib: &Path,
) -> Option<PathBuf>
Expand description

Joins a dependency’s library directory when it is relative and stays inside both the dependency’s lexical and canonical directory, so symlinks and parent components cannot impersonate another owner.