git_config_snapshot

Create a snapshot of the configuration

Create a snapshot of the current state of a configuration, which allows you to look into a consistent view of the configuration for looking up complex values (e.g. a remote, submodule).

The string returned when querying such a config object is valid until it is freed.

@param out_ pointer in which to store the snapshot config object @param config configuration to snapshot @return 0 or an error code

extern (C) nothrow @nogc
int
git_config_snapshot

Meta