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

Contents

Description

Represents a git credential.

Synopsis

Exported types

newtype Cred Source #

Memory-managed wrapper type.

Constructors

Cred (ManagedPtr Cred) 
Instances
Eq Cred Source # 
Instance details

Defined in GI.Ggit.Objects.Cred

Methods

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

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

GObject Cred Source # 
Instance details

Defined in GI.Ggit.Objects.Cred

Methods

gobjectType :: IO GType

IsGValue Cred Source #

Convert Cred to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Objects.Cred

Methods

toGValue :: Cred -> IO GValue

fromGValue :: GValue -> IO Cred

HasParentTypes Cred Source # 
Instance details

Defined in GI.Ggit.Objects.Cred

type ParentTypes Cred Source # 
Instance details

Defined in GI.Ggit.Objects.Cred

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

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
(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