fn read_file(file: &Path) -> Result<(String, Vec<u8>), IoError> {
    let filename = file_or_dir_name(file)?;
    let file_content = std::fs::read(file)?;
    Ok((filename, file_content))
}
/// Reads a specific file from the path into Memory
Reads a specific file from the path into Memory
Reads a specific file from the path into Memory
fn read_file(file: &Path) -> Result<(String, Vec<u8>), IoError> {
    let filename = file_or_dir_name(file)?;
    let file_content = std::fs::read(file)?;
    Ok((filename, file_content))
}
fn read_file ( file : & Path ) -> Result < ( String , Vec < u8 > ) , IoError > { let filename = file_or_dir_name ( file ) ? ; let file_content = std :: fs :: read ( file ) ? ; Ok ( ( filename , file_content ) ) }
Reads a specific file from the path into Memory
Reads a specific file from the path into Memory
file
&Path
file
&Path