pub fn get(path: &Path, name: &str) -> Result<Option<String>, String>
Reads the value of name from path, or Ok(None) if the file or variable is absent.
name
path
Ok(None)