| 472 | } |
| 473 | |
| 474 | void hash_object_file(const struct git_hash_algo *algo, const void *buf, |
| 475 | unsigned long len, enum object_type type, |
| 476 | struct object_id *oid) |
| 477 | { |
| 478 | char hdr[MAX_HEADER_LEN]; |
| 479 | int hdrlen = sizeof(hdr); |
| 480 | |
| 481 | write_object_file_prepare(algo, buf, len, type, oid, hdr, &hdrlen); |
| 482 | } |
| 483 | |
| 484 | struct transaction_packfile { |
| 485 | char *pack_tmp_name; |
no test coverage detected