Skip to main content

get_user

Function get_user 

Source
pub fn get_user(host: &str) -> Result<Option<String>, GorError>
Expand description

Retrieve the stored user login for the given host.

§Errors

Returns GorError::Keyring if the file cannot be read.