read_netrc

Function read_netrc 

Source
pub fn read_netrc() -> Result<Netrc, Error>
Expand description

Reads the contents of a .netrc file from its conventional location ~/.netrc

ยงErrors

IoError if the home directory cannot be found, or does not contain a readable .netrc file.