pub fn is_binary(path: &Path) -> Result<bool>Expand description
Detect binary files by looking for null bytes in the first 8 KB.
Exposed for benchmarking and testing. Not called in the scan pipeline —
Phase 2 of scan() performs inline binary detection as part of the single
fs::read call, avoiding a double file open.