| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Ggit.Structs.RemoteHead
Description
Represents a git remote head.
- newtype RemoteHead = RemoteHead (ManagedPtr RemoteHead)
- noRemoteHead :: Maybe RemoteHead
- remoteHeadGetLocalOid :: (HasCallStack, MonadIO m) => RemoteHead -> m OId
- remoteHeadGetName :: (HasCallStack, MonadIO m) => RemoteHead -> m Text
- remoteHeadGetOid :: (HasCallStack, MonadIO m) => RemoteHead -> m OId
- remoteHeadIsLocal :: (HasCallStack, MonadIO m) => RemoteHead -> m Bool
- remoteHeadRef :: (HasCallStack, MonadIO m) => RemoteHead -> m RemoteHead
- remoteHeadUnref :: (HasCallStack, MonadIO m) => RemoteHead -> m ()
Exported types
Methods
getLocalOid
remoteHeadGetLocalOid Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => RemoteHead |
|
| -> m OId | Returns: the local oid. |
Get the local oid of the remote head.
getName
Arguments
| :: (HasCallStack, MonadIO m) | |
| => RemoteHead |
|
| -> m Text | Returns: the remote head name. |
Get the remote head name.
getOid
Arguments
| :: (HasCallStack, MonadIO m) | |
| => RemoteHead |
|
| -> m OId | Returns: the remote oid. |
Get the remote oid of the remote head.
isLocal
Arguments
| :: (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.