gi-ggit-1.0.1: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Structs.ReflogEntry

Contents

Description

Represents a reflog entry.

Synopsis

Exported types

Methods

getCommitter

reflogEntryGetCommitter Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m Signature

Returns: the committer.

Gets the committer as a Signature.

getMessage

reflogEntryGetMessage Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m Text

Returns: the message.

Gets the message.

getNewId

reflogEntryGetNewId Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m OId

Returns: the new oid.

Gets the new OId.

getOldId

reflogEntryGetOldId Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m OId

Returns: the old oid.

Gets the old OId.

ref

reflogEntryRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ReflogEntry

reflogEntry: a ReflogEntry.

-> m ReflogEntry

Returns: the passed in ReflogEntry.

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.