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

Function git_path_check_convert

convert.c:1299–1310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1297}
1298
1299static struct convert_driver *git_path_check_convert(struct attr_check_item *check)
1300{
1301 const char *value = check->value;
1302 struct convert_driver *drv;
1303
1304 if (ATTR_TRUE(value) || ATTR_FALSE(value) || ATTR_UNSET(value))
1305 return NULL;
1306 for (drv = user_convert; drv; drv = drv->next)
1307 if (!strcmp(value, drv->name))
1308 return drv;
1309 return NULL;
1310}
1311
1312static int git_path_check_ident(struct attr_check_item *check)
1313{

Callers 1

convert_attrsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected