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 |
Represents the parents of a commit object.
Synopsis
- newtype CommitParents = CommitParents (ManagedPtr CommitParents)
- class (GObject o, IsDescendantOf CommitParents o) => IsCommitParents o
- toCommitParents :: (MonadIO m, IsCommitParents o) => o -> m CommitParents
- commitParentsGet :: (HasCallStack, MonadIO m, IsCommitParents a) => a -> Word32 -> m (Maybe Commit)
- commitParentsGetId :: (HasCallStack, MonadIO m, IsCommitParents a) => a -> Word32 -> m (Maybe OId)
- commitParentsGetSize :: (HasCallStack, MonadIO m, IsCommitParents a) => a -> m Word32
- commitParentsNew :: (HasCallStack, MonadIO m, IsCommit a) => a -> m CommitParents
- constructCommitParentsCommit :: (IsCommitParents o, MonadIO m, IsCommit a) => a -> m (GValueConstruct o)
- getCommitParentsCommit :: (MonadIO m, IsCommitParents o) => o -> m (Maybe Commit)
- getCommitParentsSize :: (MonadIO m, IsCommitParents o) => o -> m Word32
Exported types
newtype CommitParents Source #
Memory-managed wrapper type.
CommitParents (ManagedPtr CommitParents) |
Instances
Eq CommitParents Source # | |
Defined in GI.Ggit.Objects.CommitParents (==) :: CommitParents -> CommitParents -> Bool # (/=) :: CommitParents -> CommitParents -> Bool # | |
GObject CommitParents Source # | |
Defined in GI.Ggit.Objects.CommitParents | |
ManagedPtrNewtype CommitParents Source # | |
Defined in GI.Ggit.Objects.CommitParents toManagedPtr :: CommitParents -> ManagedPtr CommitParents | |
TypedObject CommitParents Source # | |
Defined in GI.Ggit.Objects.CommitParents | |
HasParentTypes CommitParents Source # | |
Defined in GI.Ggit.Objects.CommitParents | |
IsGValue (Maybe CommitParents) Source # | Convert |
Defined in GI.Ggit.Objects.CommitParents gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe CommitParents -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe CommitParents) | |
type ParentTypes CommitParents Source # | |
Defined in GI.Ggit.Objects.CommitParents type ParentTypes CommitParents = '[Object] |
class (GObject o, IsDescendantOf CommitParents o) => IsCommitParents o Source #
Type class for types which can be safely cast to CommitParents
, for instance with toCommitParents
.
Instances
(GObject o, IsDescendantOf CommitParents o) => IsCommitParents o Source # | |
Defined in GI.Ggit.Objects.CommitParents |
toCommitParents :: (MonadIO m, IsCommitParents o) => o -> m CommitParents Source #
Cast to CommitParents
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, get, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getId, getProperty, getQdata, getSize.
Setters
get
:: (HasCallStack, MonadIO m, IsCommitParents a) | |
=> a |
|
-> Word32 |
|
-> m (Maybe Commit) | Returns: a |
Get the Commit
of a parent.
getId
:: (HasCallStack, MonadIO m, IsCommitParents a) | |
=> a |
|
-> Word32 |
|
-> m (Maybe OId) | Returns: a |
Get the OId
of a parent.
getSize
:: (HasCallStack, MonadIO m, IsCommitParents a) | |
=> a |
|
-> m Word32 | Returns: the number of parents. |
Get the number of parents in the parents collection.
new
commitParentsNew :: (HasCallStack, MonadIO m, IsCommit a) => a -> m CommitParents Source #
No description available in the introspection data.
Properties
commit
No description available in the introspection data.
constructCommitParentsCommit :: (IsCommitParents o, MonadIO m, IsCommit a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “commit
” property. This is rarely needed directly, but it is used by new
.
getCommitParentsCommit :: (MonadIO m, IsCommitParents o) => o -> m (Maybe Commit) Source #
Get the value of the “commit
” property.
When overloading is enabled, this is equivalent to
get
commitParents #commit
size
No description available in the introspection data.
getCommitParentsSize :: (MonadIO m, IsCommitParents o) => o -> m Word32 Source #
Get the value of the “size
” property.
When overloading is enabled, this is equivalent to
get
commitParents #size