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

Function git_path_check_eol

convert.c:1286–1297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1284}
1285
1286static enum eol git_path_check_eol(struct attr_check_item *check)
1287{
1288 const char *value = check->value;
1289
1290 if (ATTR_UNSET(value))
1291 ;
1292 else if (!strcmp(value, "lf"))
1293 return EOL_LF;
1294 else if (!strcmp(value, "crlf"))
1295 return EOL_CRLF;
1296 return EOL_UNSET;
1297}
1298
1299static struct convert_driver *git_path_check_convert(struct attr_check_item *check)
1300{

Callers 1

convert_attrsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected