libgit2

git_config_entry

Version:

An entry in a configuration file

Signature

typedef struct git_config_entry { const char *name const char *value const char *backend_type const char *origin_path unsigned int include_depth git_config_level_t level void (*)(struct git_config_entry *) free };

Members

const char *
name

Name of the configuration entry (normalized)

const char *
value

Literal (string) value of the entry

const char *
backend_type

The type of backend that this entry exists in (eg, "file")

const char *
origin_path

The path to the origin of this entry. For config files, this is the path to the file.

unsigned int
include_depth

Depth of includes where this variable was found

level

Configuration level for the file this was found in

void (*)(struct git_config_entry *)
free

Free function for this entry; for internal purposes. Callers should call git_config_entry_free to free data.

Parameter To

Versions