| 60 | } |
| 61 | |
| 62 | static int dir_file_stats(struct odb_source *source, void *data) |
| 63 | { |
| 64 | struct strbuf *buf = data; |
| 65 | |
| 66 | strbuf_addf(buf, "Contents of %s:\n", source->path); |
| 67 | |
| 68 | for_each_file_in_pack_dir(source->path, dir_file_stats_objects, |
| 69 | data); |
| 70 | |
| 71 | return 0; |
| 72 | } |
| 73 | |
| 74 | static int count_files(struct strbuf *path) |
| 75 | { |
no test coverage detected