Skip to main content

Module binary_detect

Module binary_detect 

Source

Functionsยง

binary_file_message
Returns a helpful error message for binary files, including file type and suggestions.
is_binary_file
Returns true if the file is likely a binary file. Checks extension first (zero I/O), falls back to content inspection.