pub fn read_file_with_eol(path: &Path) -> Result<Option<Vec<u8>>>
Expand description
Reads a file and adds an EOL
at its end.
ยงExamples
use std::path::Path;
use rust_code_analysis::read_file_with_eol;
let path = Path::new("Cargo.toml");
read_file_with_eol(&path).unwrap();