git_config_open_default

Open the global, XDG and system configuration files

Utility wrapper that finds the global, XDG and system configuration files and opens them into a single prioritized config object that can be used when accessing default config data outside a repository.

extern (C) nothrow @nogc
int
git_config_open_default

Parameters

out_ libgit2_d.types.git_config**

Pointer to store the config instance

Return Value

Type: int

0 or an error code

Meta