gi-ggit-1.0.8: 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.RemoteHead

Description

Represents a git remote head.

Synopsis

Exported types

newtype RemoteHead Source #

Memory-managed wrapper type.

Instances

Instances details
Eq RemoteHead Source # 
Instance details

Defined in GI.Ggit.Structs.RemoteHead

IsGValue RemoteHead Source #

Convert RemoteHead to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Structs.RemoteHead

BoxedObject RemoteHead Source # 
Instance details

Defined in GI.Ggit.Structs.RemoteHead

Methods

Overloaded methods

getLocalOid

remoteHeadGetLocalOid Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RemoteHead

remoteHead: a RemoteHead.

-> m (Maybe OId)

Returns: the local oid or Nothing.

Get the local oid of the remote head.

getName

remoteHeadGetName Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RemoteHead

remoteHead: a RemoteHead.

-> m (Maybe Text)

Returns: the remote head name or Nothing.

Get the remote head name.

getOid

remoteHeadGetOid Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RemoteHead

remoteHead: a RemoteHead.

-> m (Maybe OId)

Returns: the remote oid or Nothing.

Get the remote oid of the remote head.

isLocal

remoteHeadIsLocal Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RemoteHead

remoteHead: a 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.