| 28 | #include "pack-mtimes.h" |
| 29 | |
| 30 | char *odb_pack_name(struct repository *r, struct strbuf *buf, |
| 31 | const unsigned char *hash, const char *ext) |
| 32 | { |
| 33 | strbuf_reset(buf); |
| 34 | strbuf_addf(buf, "%s/pack/pack-%s.%s", repo_get_object_directory(r), |
| 35 | hash_to_hex_algop(hash, r->hash_algo), ext); |
| 36 | return buf->buf; |
| 37 | } |
| 38 | |
| 39 | static unsigned int pack_used_ctr; |
| 40 | static unsigned int pack_mmap_calls; |
no test coverage detected