gi-ggit-1.0.6: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Objects.CredSshKeyFromAgent

Contents

Description

Represents a ssh key agent credential.

Synopsis

Exported types

newtype CredSshKeyFromAgent Source #

Memory-managed wrapper type.

Constructors

CredSshKeyFromAgent (ManagedPtr CredSshKeyFromAgent) 
Instances
GObject CredSshKeyFromAgent Source # 
Instance details

Defined in GI.Ggit.Objects.CredSshKeyFromAgent

Methods

gobjectType :: IO GType

HasParentTypes CredSshKeyFromAgent Source # 
Instance details

Defined in GI.Ggit.Objects.CredSshKeyFromAgent

type ParentTypes CredSshKeyFromAgent Source # 
Instance details

Defined in GI.Ggit.Objects.CredSshKeyFromAgent

type ParentTypes CredSshKeyFromAgent = Cred ': (Native ': (ObjectFactoryBase ': (Object ': (Initable ': ([] :: [Type])))))

class (GObject o, IsDescendantOf CredSshKeyFromAgent o) => IsCredSshKeyFromAgent o Source #

Type class for types which can be safely cast to CredSshKeyFromAgent, for instance with toCredSshKeyFromAgent.

Instances
(GObject o, IsDescendantOf CredSshKeyFromAgent o) => IsCredSshKeyFromAgent o Source # 
Instance details

Defined in GI.Ggit.Objects.CredSshKeyFromAgent

toCredSshKeyFromAgent :: (MonadIO m, IsCredSshKeyFromAgent o) => o -> m CredSshKeyFromAgent Source #

Cast to CredSshKeyFromAgent, for types for which this is known to be safe. For general casts, use castTo.

Methods

getUsername

credSshKeyFromAgentGetUsername Source #

Arguments

:: (HasCallStack, MonadIO m, IsCredSshKeyFromAgent a) 
=> a

cred: a CredSshKeyFromAgent.

-> m (Maybe Text)

Returns: the username or Nothing.

Gets the username for the credential.

new

credSshKeyFromAgentNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

username: the username.

-> m (Maybe CredSshKeyFromAgent)

Returns: a new CredSshKeyFromAgent or Nothing if there was an error. (Can throw GError)

Creates a new CredSshKeyFromAgent.

Properties

username

No description available in the introspection data.

constructCredSshKeyFromAgentUsername :: IsCredSshKeyFromAgent o => Text -> IO (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “username” property. This is rarely needed directly, but it is used by new.

getCredSshKeyFromAgentUsername :: (MonadIO m, IsCredSshKeyFromAgent o) => o -> m (Maybe Text) Source #

Get the value of the “username” property. When overloading is enabled, this is equivalent to

get credSshKeyFromAgent #username