MCPcopy Create free account
hub / github.com/git/git / write_rev_index_positions

Function write_rev_index_positions

pack-write.c:204–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204static void write_rev_index_positions(struct hashfile *f,
205 uint32_t *pack_order,
206 uint32_t nr_objects)
207{
208 uint32_t i;
209 for (i = 0; i < nr_objects; i++)
210 hashwrite_be32(f, pack_order[i]);
211}
212
213static void write_rev_trailer(const struct git_hash_algo *hash_algo,
214 struct hashfile *f, const unsigned char *hash)

Callers 1

write_rev_file_orderFunction · 0.85

Calls 1

hashwrite_be32Function · 0.85

Tested by

no test coverage detected