| 11 | static struct progress *progress; |
| 12 | |
| 13 | static int prune_subdir(unsigned int nr, const char *path, void *data) |
| 14 | { |
| 15 | int *opts = data; |
| 16 | display_progress(progress, nr + 1); |
| 17 | if (!(*opts & PRUNE_PACKED_DRY_RUN)) |
| 18 | rmdir(path); |
| 19 | return 0; |
| 20 | } |
| 21 | |
| 22 | static int prune_object(const struct object_id *oid, const char *path, |
| 23 | void *data) |
nothing calls this directly
no test coverage detected