[][src]Function cap_primitives::fs::open_dir

pub fn open_dir(start: &File, path: &Path) -> Result<File>

Open a directory by performing an openat-like operation, ensuring that the resolution of the path never escapes the directory tree rooted at start.