Method

GgitConfigset_string

Declaration [src]

gboolean
ggit_config_set_string (
  GgitConfig* config,
  const gchar* name,
  const gchar* value,
  GError** error
)

Description [src]

Set a new string value of a configuration.

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.
value const gchar*
 

The new 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: gboolean
 

TRUE if the value was successfully set, FALSE otherwise.