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

Function attr_name_reserved

attr.c:194–197  ·  view source on GitHub ↗

* Attribute name cannot begin with "builtin_" which * is a reserved namespace for built in attributes values. */

Source from the content-addressed store, hash-verified

192 * is a reserved namespace for built in attributes values.
193 */
194static int attr_name_reserved(const char *name)
195{
196 return starts_with(name, "builtin_");
197}
198
199static int attr_name_valid(const char *name, size_t namelen)
200{

Callers 2

parse_attrFunction · 0.85
parse_attr_lineFunction · 0.85

Calls 1

starts_withFunction · 0.85

Tested by

no test coverage detected