git_repository_config

Get the configuration file for this repository.

If a configuration file has not been set, the default config set for the repository will be returned, including global and system configurations (if they are available).

The configuration file must be freed once it's no longer being used by the user.

extern (C) nothrow @nogc
int
git_repository_config

Parameters

out_ libgit2_d.types.git_config**

Pointer to store the loaded configuration

repo libgit2_d.types.git_repository*

A repository object

Return Value

Type: int

0, or an error code

Meta