7 struct bitmap_disk_entry
{
11 } __attribute__((packed
));
13 struct bitmap_disk_header
{
18 unsigned char checksum
[20];
21 static const char BITMAP_IDX_SIGNATURE
[] = {'B', 'I', 'T', 'M'};
23 enum pack_bitmap_opts
{
24 BITMAP_OPT_FULL_DAG
= 1
27 typedef int (*show_reachable_fn
)(
28 const unsigned char *sha1
,
29 enum object_type type
,
32 struct packed_git
*found_pack
,
35 int prepare_bitmap_git(void);
36 void count_bitmap_commit_list(uint32_t *commits
, uint32_t *trees
, uint32_t *blobs
, uint32_t *tags
);
37 void traverse_bitmap_commit_list(show_reachable_fn show_reachable
);
38 void test_bitmap_walk(struct rev_info
*revs
);
39 char *pack_bitmap_filename(struct packed_git
*p
);
40 int prepare_bitmap_walk(struct rev_info
*revs
);
41 int reuse_partial_packfile_from_bitmap(struct packed_git
**packfile
, uint32_t *entries
, off_t
*up_to
);