| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Ggit.Structs.IndexEntryResolveUndo
Description
Represents an resolve undo index entry object.
Synopsis
- newtype IndexEntryResolveUndo = IndexEntryResolveUndo (ManagedPtr IndexEntryResolveUndo)
- indexEntryResolveUndoGetFile :: (HasCallStack, MonadIO m) => IndexEntryResolveUndo -> m (Maybe File)
- indexEntryResolveUndoGetId :: (HasCallStack, MonadIO m) => IndexEntryResolveUndo -> Int32 -> m (Maybe OId)
- indexEntryResolveUndoGetMode :: (HasCallStack, MonadIO m) => IndexEntryResolveUndo -> Int32 -> m Word32
- indexEntryResolveUndoRef :: (HasCallStack, MonadIO m) => IndexEntryResolveUndo -> m (Maybe IndexEntryResolveUndo)
- indexEntryResolveUndoUnref :: (HasCallStack, MonadIO m) => IndexEntryResolveUndo -> m ()
Exported types
newtype IndexEntryResolveUndo Source #
Memory-managed wrapper type.
Constructors
| IndexEntryResolveUndo (ManagedPtr IndexEntryResolveUndo) |
Instances
Methods
Click to display all available methods, including inherited ones
getFile
indexEntryResolveUndoGetFile Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => IndexEntryResolveUndo |
|
| -> m (Maybe File) |
Get the file of the index entry.
getId
indexEntryResolveUndoGetId Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => IndexEntryResolveUndo |
|
| -> Int32 |
|
| -> m (Maybe OId) | Returns: the oid or |
Get the oid of the index entry.
getMode
indexEntryResolveUndoGetMode Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => IndexEntryResolveUndo |
|
| -> Int32 |
|
| -> 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 |
|
| -> m (Maybe IndexEntryResolveUndo) | Returns: a |
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 |
|
| -> m () |
Atomically decrements the reference count of entry by one.
If the reference count drops to 0, entry is freed.