pub fn is_executable(_path: &Path, metadata: &Metadata) -> bool
Check if a file is executable. Unix: checks the executable bit in mode. Windows: checks file extension against known executable types.