pub async fn read_file_to_string( parent: &DirectoryProxy, path: &str, ) -> Result<String, ReadError>
Opens path from the parent directory as a file and reads the file contents as a utf-8 encoded string.
path
parent