pub fn virtual_path(project_dir: &Path, real: &Path) -> Option<PathBuf>
The virtual path of real in the project at project_dir: the first linked folder holding it, so its .. names resolve through the project.
real
project_dir
..