fn open_file(path: &Path) -> Result<OwnedBuffer, Error>
Expand description
Try to open a file, preferring mmap and falling back to std::fs::read()
if mapping fails.
fn open_file(path: &Path) -> Result<OwnedBuffer, Error>
Try to open a file, preferring mmap and falling back to std::fs::read()
if mapping fails.