Skip to main content

get

Function get 

Source
pub fn get(path: &Path, name: &str) -> Result<Option<String>, String>
Expand description

Reads the value of name from path, or Ok(None) if the file or variable is absent.