snapshot


Description:

public Config snapshot () throws Error

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

g. a remote, submodule).

Parameters:

this

a Config.

Returns:

a new Config, or null if an error occurred.