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

Function at_mark

object-name.c:639–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639static inline int at_mark(const char *string, int len,
640 const char **suffix, int nr)
641{
642 int i;
643
644 for (i = 0; i < nr; i++) {
645 int suffix_len = strlen(suffix[i]);
646 if (suffix_len <= len
647 && !strncasecmp(string, suffix[i], suffix_len))
648 return suffix_len;
649 }
650 return 0;
651}
652
653static inline int upstream_mark(const char *string, int len)
654{

Callers 2

upstream_markFunction · 0.85
push_markFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected