Function mem_util::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.