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.Object

Contents

Description

Represents a generic object in a repository.

Synopsis

Exported types

toObject :: (MonadIO m, IsObject o) => o -> m Object Source #

Methods

getId

objectGetId Source #

Arguments

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

object: a Object.

-> m OId

Returns: the OId of the object.

Gets the OId of object.

getOwner

objectGetOwner Source #

Arguments

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

object: a Object.

-> m Repository

Returns: the Repository that owns this object. The returned value must be free'd calling objectUnref.

Gets the Repository that owns object.