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

Function cmp_icase

dir.c:3200–3207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3198}
3199
3200static int cmp_icase(char a, char b)
3201{
3202 if (a == b)
3203 return 0;
3204 if (ignore_case)
3205 return toupper(a) - toupper(b);
3206 return a - b;
3207}
3208
3209/*
3210 * Given two normalized paths (a trailing slash is ok), if subdir is

Callers 1

dir_inside_ofFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected