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

Function end_of_line

grep.c:867–876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867static const char *end_of_line(const char *cp, unsigned long *left)
868{
869 unsigned long l = *left;
870 while (l && *cp != '\n') {
871 l--;
872 cp++;
873 }
874 *left = l;
875 return cp;
876}
877
878static int word_char(char ch)
879{

Callers 1

grep_source_1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected