pub fn read_file(path: &Path) -> Result<Vec<u8>>
Reads a file.
use std::path::Path; use rust_code_analysis::read_file; let path = Path::new("Cargo.toml"); read_file(&path).unwrap();