Skip to main content

is_binary_for_diff

Function is_binary_for_diff 

Source
pub fn is_binary_for_diff(git_dir: &Path, path: &str, blob: &[u8]) -> bool
Expand description

True if diff should treat this path as binary (NUL in blob or -diff / diff=unset).