MCPcopy Create free account
hub / github.com/git/git / git_attr_global_file

Function git_attr_global_file

attr.c:882–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880}
881
882const char *git_attr_global_file(void)
883{
884 struct repo_config_values *cfg = repo_config_values(the_repository);
885 if (!cfg->attributes_file)
886 cfg->attributes_file = xdg_config_home("attributes");
887
888 return cfg->attributes_file;
889}
890
891int git_attr_system_is_enabled(void)
892{

Callers 2

bootstrap_attr_stackFunction · 0.85
git_attr_val_globalFunction · 0.85

Calls 2

xdg_config_homeFunction · 0.85
repo_config_valuesClass · 0.70

Tested by

no test coverage detected