MCPcopy Create free account
hub / github.com/libgit2/pygit2 / get_global_config

Method get_global_config

pygit2/config.py:312–314  ·  view source on GitHub ↗

Return a object representing the global configuration file.

()

Source from the content-addressed store, hash-verified

310
311 @staticmethod
312 def get_global_config() -> 'Config':
313 """Return a <Config> object representing the global configuration file."""
314 return Config._from_found_config(C.git_config_find_global)
315
316 @staticmethod
317 def get_xdg_config() -> 'Config':

Callers 1

test_global_configFunction · 0.80

Calls 1

_from_found_configMethod · 0.80

Tested by 1

test_global_configFunction · 0.64