Function broot::content_search::get_mmap_if_not_binary [−][src]
pub fn get_mmap_if_not_binary<P: AsRef<Path>>(
hay_path: P
) -> Result<Option<Mmap>>
return the memmap to the file except if it was determined that the file is binary (from its extension, size, or first bytes)