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