gi-ggit-1.0.6: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Structs.RemoteHead

Contents

Description

Represents a git remote head.

Synopsis

Exported types

newtype RemoteHead Source #

Memory-managed wrapper type.

Constructors

RemoteHead (ManagedPtr RemoteHead) 
Instances
BoxedObject RemoteHead Source # 
Instance details

Defined in GI.Ggit.Structs.RemoteHead

Methods

boxedType :: RemoteHead -> IO GType

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.