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

Function default_attr_source

attr.c:1233–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1231}
1232
1233static struct object_id *default_attr_source(void)
1234{
1235 static struct object_id attr_source;
1236 static int has_attr_source = -1;
1237
1238 if (has_attr_source < 0)
1239 has_attr_source = compute_default_attr_source(&attr_source);
1240 if (!has_attr_source)
1241 return NULL;
1242 return &attr_source;
1243}
1244
1245static const char *interned_mode_string(unsigned int mode)
1246{

Callers 2

git_check_attrFunction · 0.85
git_all_attrsFunction · 0.85

Calls 1

Tested by

no test coverage detected