gi-ggit-1.0.8: libgit2-glib bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Objects.Cred

Description

Represents a git credential.

Synopsis

Exported types

newtype Cred Source #

Memory-managed wrapper type.

Constructors

Cred (ManagedPtr Cred) 

Instances

Instances details
Eq Cred Source # 
Instance details

Defined in GI.Ggit.Objects.Cred

Methods

(==) :: Cred -> Cred -> Bool #

(/=) :: Cred -> Cred -> Bool #

IsGValue Cred Source #

Convert Cred to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Objects.Cred

GObject Cred Source # 
Instance details

Defined in GI.Ggit.Objects.Cred

Methods

gobjectType :: IO GType #

HasParentTypes Cred Source # 
Instance details

Defined in GI.Ggit.Objects.Cred

type ParentTypes Cred Source # 
Instance details

Defined in GI.Ggit.Objects.Cred

class (GObject o, IsDescendantOf Cred o) => IsCred o Source #

Type class for types which can be safely cast to Cred, for instance with toCred.

Instances

Instances details
(GObject o, IsDescendantOf Cred o) => IsCred o Source # 
Instance details

Defined in GI.Ggit.Objects.Cred

toCred :: (MonadIO m, IsCred o) => o -> m Cred Source #

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

noCred :: Maybe Cred Source #

A convenience alias for Nothing :: Maybe Cred.

Methods

Overloaded methods