gi-ggit-1.0.2: 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.ConfigEntry

Contents

Description

Represents a git configuration entry.

Synopsis

Exported types

newtype ConfigEntry Source #

Memory-managed wrapper type.

Instances
BoxedObject ConfigEntry Source # 
Instance details

Defined in GI.Ggit.Structs.ConfigEntry

Methods

getLevel

configEntryGetLevel Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ConfigEntry

entry: a ConfigEntry.

-> m ConfigLevel

Returns: the ConfigLevel of entry.

Gets the ConfigLevel of entry.

getName

configEntryGetName Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ConfigEntry

entry: a ConfigEntry.

-> m (Maybe Text)

Returns: the name of entry or Nothing.

Gets the name of entry.

getValue

configEntryGetValue Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ConfigEntry

entry: a ConfigEntry.

-> m (Maybe Text)

Returns: the value of entry or Nothing.

Gets the value of entry.

ref

configEntryRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ConfigEntry

entry: a ConfigEntry.

-> m (Maybe ConfigEntry)

Returns: a ConfigEntry or Nothing.

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

unref

configEntryUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ConfigEntry

entry: a ConfigEntry.

-> m () 

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