Skip to main content

set_user

Function set_user 

Source
pub fn set_user(host: &str, user: &str) -> Result<(), GorError>
Expand description

Store the authenticated user’s login name for the given host.

§Errors

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