git_config_find_system

Locate the path to the system configuration file

If /etc/gitconfig doesn't exist, it will look for %PROGRAMFILES%\Git\etc\gitconfig.

extern (C) nothrow @nogc
int
git_config_find_system

Parameters

out_ libgit2_d.buffer.git_buf*

Pointer to a user-allocated git_buf in which to store the path

Return Value

Type: int

0 if a system configuration file has been found. Its path will be stored in out.

Meta