MCPcopy Index your code
hub / github.com/git/git / has_name

Function has_name

reftable/stack.c:150–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150static int has_name(char **names, const char *name)
151{
152 while (*names) {
153 if (!strcmp(*names, name))
154 return 1;
155 names++;
156 }
157 return 0;
158}
159
160/* Close and free the stack */
161void reftable_stack_destroy(struct reftable_stack *st)

Callers 1

reftable_stack_destroyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected