| 86 | } |
| 87 | |
| 88 | int read_tree(struct repository *r, |
| 89 | struct tree *tree, |
| 90 | const struct pathspec *pathspec, |
| 91 | read_tree_fn_t fn, void *context) |
| 92 | { |
| 93 | struct strbuf sb = STRBUF_INIT; |
| 94 | int ret = read_tree_at(r, tree, &sb, 0, pathspec, fn, context); |
| 95 | strbuf_release(&sb); |
| 96 | return ret; |
| 97 | } |
| 98 | |
| 99 | int base_name_compare(const char *name1, size_t len1, int mode1, |
| 100 | const char *name2, size_t len2, int mode2) |
no test coverage detected