Function is_executable

Source
pub fn is_executable<P>(path: P) -> bool
where P: AsRef<Path>,
Expand description

Returns true if there is a file at the given path and it is executable. Returns false otherwise.

See the module documentation for details.