pub async fn read_file( parent: &DirectoryProxy, path: &str, ) -> Result<Vec<u8>, ReadError>
Opens path from the parent directory as a file and reads the file contents into a Vec.
path
parent