| 125 | static int human_readable; |
| 126 | |
| 127 | static off_t get_object_disk_usage(struct object *obj) |
| 128 | { |
| 129 | off_t size; |
| 130 | struct object_info oi = OBJECT_INFO_INIT; |
| 131 | oi.disk_sizep = &size; |
| 132 | if (odb_read_object_info_extended(the_repository->objects, |
| 133 | &obj->oid, &oi, 0) < 0) |
| 134 | die(_("unable to get disk usage of %s"), oid_to_hex(&obj->oid)); |
| 135 | return size; |
| 136 | } |
| 137 | |
| 138 | static void add_missing_object_entry(struct object_id *oid, const char *path, |
| 139 | unsigned type) |
no test coverage detected