gi-ggit-1.0.9: 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.IndexEntryResolveUndo

Description

Represents an resolve undo index entry object.

Synopsis

Exported types

newtype IndexEntryResolveUndo Source #

Memory-managed wrapper type.

Constructors

IndexEntryResolveUndo (ManagedPtr IndexEntryResolveUndo) 

Instances

Instances details
Eq IndexEntryResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntryResolveUndo

GBoxed IndexEntryResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntryResolveUndo

ManagedPtrNewtype IndexEntryResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntryResolveUndo

TypedObject IndexEntryResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntryResolveUndo

Methods

glibType :: IO GType

IsGValue IndexEntryResolveUndo Source #

Convert IndexEntryResolveUndo to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Structs.IndexEntryResolveUndo

Methods

toGValue :: IndexEntryResolveUndo -> IO GValue

fromGValue :: GValue -> IO IndexEntryResolveUndo

HasParentTypes IndexEntryResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntryResolveUndo

type ParentTypes IndexEntryResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntryResolveUndo

type ParentTypes IndexEntryResolveUndo = '[] :: [Type]

Methods

Overloaded methods

getFile

indexEntryResolveUndoGetFile Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IndexEntryResolveUndo

entry: a IndexEntryResolveUndo.

-> m (Maybe File)

Returns: a File or Nothing.

Get the file of the index entry.

getId

indexEntryResolveUndoGetId Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IndexEntryResolveUndo

entry: a IndexEntryResolveUndo.

-> Int32

stage: the stage (0, 1 or 2).

-> m (Maybe OId)

Returns: the oid or Nothing.

Get the oid of the index entry.

getMode

indexEntryResolveUndoGetMode Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IndexEntryResolveUndo

entry: a IndexEntryResolveUndo.

-> Int32

stage: the stage (0, 1 or 2).

-> m Word32

Returns: the mode.

Get the mode of the index entry. The returned mode contains the modes from stage 1, 2 and 3.

ref

indexEntryResolveUndoRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IndexEntryResolveUndo

entry: a IndexEntryResolveUndo.

-> m (Maybe IndexEntryResolveUndo)

Returns: a IndexEntryResolveUndo or Nothing.

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

unref

indexEntryResolveUndoUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IndexEntryResolveUndo

entry: a IndexEntryResolveUndo.

-> m () 

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