git_config_get_path

Get the value of a path config variable.

A leading '~' will be expanded to the global search path (which defaults to the user's home directory but can be overridden via git_libgit2_opts().

All config files will be looked into, in the order of their defined level. A higher level means a higher priority. The first occurrence of the variable will be returned here.

@param out_ the buffer in which to store the result @param cfg where to look for the variable @param name the variable's name @return 0 or an error code

extern (C) nothrow @nogc
int
git_config_get_path

Meta