gi-ggit-1.0.1: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Objects.CommitParents

Contents

Description

Represents the parents of a commit object.

Synopsis

Exported types

Methods

get

commitParentsGet Source #

Arguments

:: (HasCallStack, MonadIO m, IsCommitParents a) 
=> a

parents: a CommitParents.

-> Word32

idx: the parent index.

-> m Commit

Returns: a Commit.

Get the Commit of a parent.

getId

commitParentsGetId Source #

Arguments

:: (HasCallStack, MonadIO m, IsCommitParents a) 
=> a

parents: a CommitParents.

-> Word32

idx: the parent index.

-> m OId

Returns: a OId.

Get the OId of a parent.

getSize

commitParentsGetSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsCommitParents a) 
=> a

parents: a CommitParents.

-> m Word32

Returns: the number of parents.

Get the number of parents in the parents collection.

new

commitParentsNew :: (HasCallStack, MonadIO m, IsCommit a) => a -> m CommitParents Source #

No description available in the introspection data.

Properties

commit

size