MCPcopy Create free account
hub / github.com/git/git / dir_file_stats

Function dir_file_stats

diagnose.c:62–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62static 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
74static int count_files(struct strbuf *path)
75{

Callers 1

Calls 2

strbuf_addfFunction · 0.85

Tested by

no test coverage detected