Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Represents a git remote head.
Synopsis
- newtype RemoteHead = RemoteHead (ManagedPtr RemoteHead)
- remoteHeadGetLocalOid :: (HasCallStack, MonadIO m) => RemoteHead -> m (Maybe OId)
- remoteHeadGetName :: (HasCallStack, MonadIO m) => RemoteHead -> m (Maybe Text)
- remoteHeadGetOid :: (HasCallStack, MonadIO m) => RemoteHead -> m (Maybe OId)
- remoteHeadIsLocal :: (HasCallStack, MonadIO m) => RemoteHead -> m Bool
- remoteHeadRef :: (HasCallStack, MonadIO m) => RemoteHead -> m RemoteHead
- remoteHeadUnref :: (HasCallStack, MonadIO m) => RemoteHead -> m ()
Exported types
newtype RemoteHead Source #
Memory-managed wrapper type.
RemoteHead (ManagedPtr RemoteHead) |
Instances
Eq RemoteHead Source # | |
Defined in GI.Ggit.Structs.RemoteHead (==) :: RemoteHead -> RemoteHead -> Bool (/=) :: RemoteHead -> RemoteHead -> Bool | |
GBoxed RemoteHead Source # | |
Defined in GI.Ggit.Structs.RemoteHead | |
ManagedPtrNewtype RemoteHead Source # | |
Defined in GI.Ggit.Structs.RemoteHead toManagedPtr :: RemoteHead -> ManagedPtr RemoteHead | |
TypedObject RemoteHead Source # | |
Defined in GI.Ggit.Structs.RemoteHead glibType :: IO GType | |
IsGValue RemoteHead Source # | Convert |
Defined in GI.Ggit.Structs.RemoteHead toGValue :: RemoteHead -> IO GValue fromGValue :: GValue -> IO RemoteHead | |
HasParentTypes RemoteHead Source # | |
Defined in GI.Ggit.Structs.RemoteHead | |
type ParentTypes RemoteHead Source # | |
Defined in GI.Ggit.Structs.RemoteHead type ParentTypes RemoteHead = '[] :: [Type] |
Methods
Overloaded methods
getLocalOid
remoteHeadGetLocalOid Source #
:: (HasCallStack, MonadIO m) | |
=> RemoteHead |
|
-> m (Maybe OId) | Returns: the local oid or |
Get the local oid of the remote head.
getName
:: (HasCallStack, MonadIO m) | |
=> RemoteHead |
|
-> m (Maybe Text) | Returns: the remote head name or |
Get the remote head name.
getOid
:: (HasCallStack, MonadIO m) | |
=> RemoteHead |
|
-> m (Maybe OId) | Returns: the remote oid or |
Get the remote oid of the remote head.
isLocal
:: (HasCallStack, MonadIO m) | |
=> RemoteHead |
|
-> m Bool | Returns: whether the remote head is local. |
Get whether the remote head is local.
ref
remoteHeadRef :: (HasCallStack, MonadIO m) => RemoteHead -> m RemoteHead Source #
No description available in the introspection data.
unref
remoteHeadUnref :: (HasCallStack, MonadIO m) => RemoteHead -> m () Source #
No description available in the introspection data.