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.IndexEntriesResolveUndo

Description

Represents the resolve undo entries in an index object.

Synopsis

Exported types

newtype IndexEntriesResolveUndo Source #

Memory-managed wrapper type.

Instances

Instances details
Eq IndexEntriesResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntriesResolveUndo

GBoxed IndexEntriesResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntriesResolveUndo

ManagedPtrNewtype IndexEntriesResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntriesResolveUndo

TypedObject IndexEntriesResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntriesResolveUndo

Methods

glibType :: IO GType

IsGValue IndexEntriesResolveUndo Source #

Convert IndexEntriesResolveUndo to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Structs.IndexEntriesResolveUndo

HasParentTypes IndexEntriesResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntriesResolveUndo

type ParentTypes IndexEntriesResolveUndo Source # 
Instance details

Defined in GI.Ggit.Structs.IndexEntriesResolveUndo

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

Methods

Overloaded methods

get

indexEntriesResolveUndoGet Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IndexEntriesResolveUndo

entries: a IndexEntriesResolveUndo.

-> Word32

idx: the index of the entry.

-> m (Maybe IndexEntryResolveUndo)

Returns: a IndexEntryResolveUndo or Nothing.

Get a IndexEntryResolveUndo by index. Note that the returned IndexEntryResolveUndo is _only_ valid as long as:

1) The associated index has been closed 2) The entry has not been removed (see indexRemove) 3) The index has not been refreshed (see indexRead)

getByFile

indexEntriesResolveUndoGetByFile Source #

Arguments

:: (HasCallStack, MonadIO m, IsFile a) 
=> IndexEntriesResolveUndo

entries: a IndexEntriesResolveUndo.

-> a

file: a File.

-> m (Maybe IndexEntryResolveUndo)

Returns: a IndexEntryResolveUndo or Nothing.

Get an resolve_undo entry specified by path. The returned entry is read only and should not be modified by the caller. If the entry could not be found, Nothing is returned.

ref

indexEntriesResolveUndoRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IndexEntriesResolveUndo

entries: a IndexEntriesResolveUndo.

-> m (Maybe IndexEntriesResolveUndo)

Returns: a IndexEntriesResolveUndo or Nothing.

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

size

indexEntriesResolveUndoSize Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IndexEntriesResolveUndo

entries: a IndexEntriesResolveUndo.

-> m Word32

Returns: the number of entries.

Get the number of IndexEntryResolveUndo entries.

unref

indexEntriesResolveUndoUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IndexEntriesResolveUndo

entries: a IndexEntriesResolveUndo.

-> m () 

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