pub fn symlink_contents<P: AsRef<Path>, Q: AsRef<Path>>(
old_path: P,
new_start: &File,
new_path: Q,
) -> Result<()>
Expand description
Perform a symlinkat
-like operation, ensuring that the resolution of the
link path never escapes the directory tree rooted at start
.