pub fn read_link(start: &File, path: &Path) -> Result<PathBuf>
Expand description
Perform a readlinkat
-like operation, ensuring that the resolution of the
path never escapes the directory tree rooted at start
, and also verifies
that the link target is not absolute.