Skip to main content

is_executable

Function is_executable 

Source
fn is_executable(path: &Path) -> bool
Expand description

Returns true when path points to an executable regular file.

On Unix this checks execute mode bits. On non-Unix targets this checks common executable filename extensions.