Function fuchsia_fs::directory::read_file_to_string

source ยท
pub async fn read_file_to_string(
    parent: &DirectoryProxy,
    path: &str,
) -> Result<String, ReadError>
Expand description

Opens path from the parent directory as a file and reads the file contents as a utf-8 encoded string.