Skip to main content

is_executable

Function is_executable 

Source
pub fn is_executable(_path: &Path, metadata: &Metadata) -> bool
Expand description

Check if a file is executable. Unix: checks the executable bit in mode. Windows: checks file extension against known executable types.