pub fn looks_binary(buf: &[u8]) -> bool
Does s contain a NUL in its first 8000 bytes (git’s binary heuristic)?
s