libgit2

config

Version:
Git config management routines

Objects

Memory representation of a set of config files

Structs

Generic backend that implements the interface to access a configuration file

Macros

Enums

Priority level of a config file These priority levels correspond to the natural escalation logic (from higher to lower) when searching for config entries in git.git.

Callbacks

Functions

Locate the path to the global configuration file

Locate the path to the global xdg compatible configuration file

Locate the path to the system configuration file

Open the global, XDG and system configuration files

Allocate a new configuration object

Add a generic config file instance to an existing config

Add an on-disk config file instance to an existing config

Create a new config instance containing a single on-disk file

Build a single-level focused config object from a multi-level one

Reload changed config files

Free the configuration and its associated memory and files

Get the git_config_entry of a config variable

Get the value of an integer config variable

Get the value of a long integer config variable

Get the value of a boolean config variable

Get the value of a string config variable

Get each value of a multivar

Set the value of an integer config variable in the config file with the highest level (usually the local one)

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

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

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

Set a multivar in the local config file

Delete a config variable from the config file with the highest level (usually the local one)

Perform an operation on each config variable

Perform an operation on each config variable matching a regular expression

Query the value of a config variable and return it mapped to an integer constant

Maps a string value to an integer constant

Parse a string value as a bool

Parse a string value as an int32

Parse a string value as an int64