Function cap_primitives::fs::open_dir

source ยท
pub fn open_dir(start: &File, path: &Path) -> Result<File>
Expand description

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