Skip to main content

account

Function account 

Source
pub fn account() -> Result<Option<String>>
Expand description

Login of the GitHub account the user is signed in as.

§Returns

The login, or None if not signed in.

§Errors

Returns an error if the keyring can’t be read.