gi-ggit-1.0.11: libgit2-glib bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Ggit.Structs.RemoteHead

Description

Represents a git remote head.

Synopsis

Exported types

newtype RemoteHead Source #

Memory-managed wrapper type.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

isLocal, ref, unref.

Getters

getLocalOid, getName, getOid.

Setters

None.

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.