Function is_binary_file

Source
pub fn is_binary_file<P: AsRef<Path>>(path: P) -> Result<bool>
Expand description

Check if file is binary based on content