| 144 | void pathspec_magic_names(unsigned magic, struct strbuf *out); |
| 145 | |
| 146 | static inline int ps_strncmp(const struct pathspec_item *item, |
| 147 | const char *s1, const char *s2, size_t n) |
| 148 | { |
| 149 | if (item->magic & PATHSPEC_ICASE) |
| 150 | return strncasecmp(s1, s2, n); |
| 151 | else |
| 152 | return strncmp(s1, s2, n); |
| 153 | } |
| 154 | |
| 155 | static inline int ps_strcmp(const struct pathspec_item *item, |
| 156 | const char *s1, const char *s2) |
no outgoing calls
no test coverage detected