Function cap_primitives::fs::open_ambient_dir [−][src]
pub unsafe fn open_ambient_dir(path: &Path) -> Result<File>
Open a directory named by a bare path, using the host process’ ambient authority.
Safety
This function is not sandboxed and may trivially access any path that the host process has access to.