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.Structs.Note

Contents

Description

Represents a note object.

Synopsis

Exported types

newtype Note Source #

Constructors

Note (ManagedPtr Note) 

Instances

Methods

getId

noteGetId Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Note

note: a Note.

-> m OId

Returns: the object's id.

Gets the note object's id.

getMessage

noteGetMessage Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Note

note: a Note.

-> m Text

Returns: the note message.

Gets the note message.

ref

noteRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Note

note: a Note.

-> m Note

Returns: a Note.

Atomically increments the reference count of note by one. This function is MT-safe and may be called from any thread.

unref

noteUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Note

note: a Note.

-> m () 

Atomically decrements the reference count of note by one. If the reference count drops to 0, note is freed.