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.Structs.ReflogEntry

Contents

Description

Represents a reflog entry.

Synopsis

Exported types

newtype ReflogEntry Source #

Memory-managed wrapper type.

Constructors

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

Defined in GI.Ggit.Structs.ReflogEntry

Methods

(==) :: ReflogEntry -> ReflogEntry -> Bool

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

BoxedObject ReflogEntry Source # 
Instance details

Defined in GI.Ggit.Structs.ReflogEntry

Methods

boxedType :: ReflogEntry -> IO GType

IsGValue ReflogEntry Source #

Convert ReflogEntry to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Structs.ReflogEntry

Methods

toGValue :: ReflogEntry -> IO GValue

fromGValue :: GValue -> IO ReflogEntry

noReflogEntry :: Maybe ReflogEntry Source #

A convenience alias for Nothing :: Maybe ReflogEntry.

Methods

Overloaded methods

getCommitter

reflogEntryGetCommitter Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a tReflogEntry.

-> m (Maybe Signature)

Returns: the committer or Nothing.

Gets the committer as a tSignature.

getMessage

reflogEntryGetMessage Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a tReflogEntry.

-> m (Maybe Text)

Returns: the message or Nothing.

Gets the message.

getNewId

reflogEntryGetNewId Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a tReflogEntry.

-> m (Maybe OId)

Returns: the new oid or Nothing.

Gets the new tOId.

getOldId

reflogEntryGetOldId Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a tReflogEntry.

-> m (Maybe OId)

Returns: the old oid or Nothing.

Gets the old tOId.

ref

reflogEntryRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a tReflogEntry.

-> m (Maybe ReflogEntry)

Returns: the passed in tReflogEntry or Nothing.

Atomically increments the reference count of reflogEntry by one. This function is MT-safe and may be called from any thread.

unref

reflogEntryUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a tReflogEntry.

-> m () 

Atomically decrements the reference count of reflogEntry by one. If the reference count drops to 0, reflogEntry is freed.