Skip to main content

is_binary

Function is_binary 

Source
pub fn is_binary(path: &Path) -> bool
Expand description

Check if file appears to be binary (has null bytes anywhere in the stream).