| 78 | static int resolve_dtype(int dtype, struct index_state *istate, |
| 79 | const char *path, int len); |
| 80 | struct dirent *readdir_skip_dot_and_dotdot(DIR *dirp) |
| 81 | { |
| 82 | struct dirent *e; |
| 83 | |
| 84 | while ((e = readdir(dirp)) != NULL) { |
| 85 | if (!is_dot_or_dotdot(e->d_name)) |
| 86 | break; |
| 87 | } |
| 88 | return e; |
| 89 | } |
| 90 | |
| 91 | int for_each_file_in_dir(struct strbuf *path, file_iterator fn, const void *data) |
| 92 | { |
no test coverage detected