git_config_set_string

Set the value of a string config variable in the config file with the highest level (usually the local one).

A copy of the string is made and the user is free to use it afterwards.

extern (C) nothrow @nogc
int
git_config_set_string
(,
const(char)* name
,
const(char)* value
)

Parameters

cfg libgit2_d.types.git_config*

where to look for the variable

name const(char)*

the variable's name

value const(char)*

the string to store.

Return Value

Type: int

0 or an error code

Meta