Method

GgitConfigget_entry

Declaration [src]

GgitConfigEntry*
ggit_config_get_entry (
  GgitConfig* config,
  const gchar* name,
  GError** error
)

Description [src]

Get GgitConfigEntry of a config variable.

Parameters

name const gchar*
 

The configuration name.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GgitConfigEntry
 

The entry of name, or NULL if such a value does not exist.

 The caller of the method takes ownership of the data, and is responsible for freeing it.