6 struct loose_object_map
{
7 kh_oid_map_t
*to_compat
;
8 kh_oid_map_t
*to_storage
;
11 void loose_object_map_init(struct loose_object_map
**map
);
12 void loose_object_map_clear(struct loose_object_map
**map
);
13 int repo_loose_object_map_oid(struct repository
*repo
,
14 const struct object_id
*src
,
15 const struct git_hash_algo
*dest_algo
,
16 struct object_id
*dest
);
17 int repo_add_loose_object_map(struct repository
*repo
, const struct object_id
*oid
,
18 const struct object_id
*compat_oid
);
19 int repo_read_loose_object_map(struct repository
*repo
);
20 int repo_write_loose_object_map(struct repository
*repo
);