mem_util

Function open_file_data

Source
pub async fn open_file_data(
    parent: &DirectoryProxy,
    path: &str,
) -> Result<Data, FileError>
Expand description

Open path from given parent directory, returning an fmem::Data of the contents.

Prioritizes returning an fmem::Data::Buffer if it can be done by reusing a VMO handle from the directory’s server.