pub fn is_executable_file(path: &Path) -> Result<bool>Expand description
Check if a file appears to be an executable based on magic bytes
This function performs a quick check of the file header to identify common executable formats without fully parsing the file.
§Arguments
path- Path to the file to check
§Returns
Returns true if the file appears to be an executable, false otherwise.