pub fn get_mmap_if_suitable<P: AsRef<Path>>(
hay_path: P,
max_size: usize
) -> Result<Option<Mmap>>
Expand description

return the memmap to the file except if it was determined that the file is binary (from its extension, size, or first bytes) or is too big