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

Description

Represents a reflog entry.

Synopsis

Exported types

newtype ReflogEntry Source #

Memory-managed wrapper type.

Instances

Instances details
Eq ReflogEntry Source # 
Instance details

Defined in GI.Ggit.Structs.ReflogEntry

IsGValue ReflogEntry Source #

Convert ReflogEntry to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Structs.ReflogEntry

BoxedObject ReflogEntry Source # 
Instance details

Defined in GI.Ggit.Structs.ReflogEntry

Methods

Overloaded methods

getCommitter

reflogEntryGetCommitter Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m (Maybe Signature)

Returns: the committer or Nothing.

Gets the committer as a Signature.

getMessage

reflogEntryGetMessage Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m (Maybe Text)

Returns: the message or Nothing.

Gets the message.

getNewId

reflogEntryGetNewId Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m (Maybe OId)

Returns: the new oid or Nothing.

Gets the new OId.

getOldId

reflogEntryGetOldId Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m (Maybe OId)

Returns: the old oid or Nothing.

Gets the old OId.

ref

reflogEntryRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m (Maybe ReflogEntry)

Returns: the passed in ReflogEntry 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 ReflogEntry.

-> m () 

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