have_permission

Function have_permission 

Source
pub fn have_permission(dir: impl AsRef<Path>) -> PermissionResult
Expand description

Check that the process’ user id has permissions to execute or in the case of a directory traverse the particular directory