Method

GgitConfigget_string

Declaration [src]

const gchar*
ggit_config_get_string (
  GgitConfig* config,
  const gchar* name,
  GError** error
)

Description [src]

Get the configuration value of name as string.

Parameters

name const gchar*
 

The name of the configuration value.

 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: const gchar*
 

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

 The data is owned by the instance.
 The return value can be NULL.
 The value is a NUL terminated UTF-8 string.