cap_primitives::fs

Function open_dir_nofollow

Source
pub fn open_dir_nofollow(start: &File, path: &Path) -> Result<File>
Expand description

Similar to open_dir, but fails if the path names a symlink.