Function broot::content_search::is_path_binary
source · [−]Expand description
return false when the file looks suitable for searching as text.
This function is quite slow as it creates a memmap just to check
a few bytes. If the memmap can be used, prefer get_mmap_if_not_binary