git_config_backend

Generic backend that implements the interface to access a configuration file

Members

Variables

cfg
libgit2_d.types.git_config* cfg;
Undocumented in source.
del
int function(.git_config_backend*, const(char)* key) del;
Undocumented in source.
del_multivar
int function(.git_config_backend*, const(char)* key, const(char)* regexp) del_multivar;
Undocumented in source.
free
void function(.git_config_backend*) free;
Undocumented in source.
get
int function(.git_config_backend*, const(char)* key, libgit2_d.config.git_config_entry** entry) get;
Undocumented in source.
iterator
int function(.git_config_iterator**, .git_config_backend*) iterator;
Undocumented in source.
lock
int function(.git_config_backend*) lock;

Lock this backend.

open
int function(.git_config_backend*, libgit2_d.config.git_config_level_t level, const(libgit2_d.types.git_repository)* repo) open;
Undocumented in source.
readonly
int readonly;

True if this backend is for a snapshot

set
int function(.git_config_backend*, const(char)* key, const(char)* value) set;
Undocumented in source.
set_multivar
int function(.git_config_backend* cfg, const(char)* name, const(char)* regexp, const(char)* value) set_multivar;
Undocumented in source.
snapshot
int function(.git_config_backend**, .git_config_backend*) snapshot;

Produce a read-only version of this backend

unlock
int function(.git_config_backend*, int success) unlock;

Unlock the data store backing this backend. If success is true, the changes should be committed, otherwise rolled back.

version_
uint version_;
Undocumented in source.

Meta