Function broot::content_type::is_file_binary
source · pub fn is_file_binary<P: AsRef<Path>>(path: P) -> Result<bool>
Expand description
Assuming the path is already checked to be to a file (not a link or directory), tell whether it looks like a binary file