| 599 | } |
| 600 | |
| 601 | int match_pathspec(struct index_state *istate, |
| 602 | const struct pathspec *ps, |
| 603 | const char *name, int namelen, |
| 604 | int prefix, char *seen, int is_dir) |
| 605 | { |
| 606 | unsigned flags = is_dir ? DO_MATCH_DIRECTORY : 0; |
| 607 | return match_pathspec_with_flags(istate, ps, name, namelen, |
| 608 | prefix, seen, flags); |
| 609 | } |
| 610 | |
| 611 | int match_leading_pathspec(struct index_state *istate, |
| 612 | const struct pathspec *ps, |
no test coverage detected