read_file

Function read_file 

Source
pub async fn read_file(
    parent: &DirectoryProxy,
    path: &str,
) -> Result<Vec<u8>, ReadError>
Expand description

Opens path from the parent directory as a file and reads the file contents into a Vec.