find_global


Description:

public static File find_global ()

Find the file representing the users global git configuration.

This file is usually located at $HOME/.gitconfig. This function will try to guess the full path to that file, if the file exists. The returned file may then be used with Config.from_file or add_file. This function returns null if the global config could not be found.

Returns:

a File or null if the global config could not be found.




2022 vala-language.org