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

Function has_string

parse-options.c:463–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463static int has_string(const char *it, const char **array)
464{
465 while (*array)
466 if (!strcmp(it, *(array++)))
467 return 1;
468 return 0;
469}
470
471static int is_alias(struct parse_opt_ctx_t *ctx,
472 const struct option *one_opt,

Callers 1

is_aliasFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected