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

Function token_matches_item

trailer.c:615–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615static int token_matches_item(const char *tok, struct arg_item *item, size_t tok_len)
616{
617 if (!strncasecmp(tok, item->conf.name, tok_len))
618 return 1;
619 return item->conf.key ? !strncasecmp(tok, item->conf.key, tok_len) : 0;
620}
621
622/*
623 * If the given line is of the form

Callers 2

parse_trailerFunction · 0.85
find_trailer_block_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected