git_config_open_ondisk

Create a new config instance containing a single on-disk file

This method is a simple utility wrapper for the following sequence of calls: - git_config_new - git_config_add_file_ondisk

extern (C) nothrow @nogc
int
git_config_open_ondisk

Parameters

out_ libgit2_d.types.git_config**

The configuration instance to create

path const(char)*

Path to the on-disk file to open

Return Value

Type: int

0 on success, or an error code

Meta