rustix::fs

Function access

Source
pub fn access<P: Arg>(path: P, access: Access) -> Result<()>
Available on crate feature fs only.
Expand description

access(path, access)—Tests permissions for a file or directory.

§References