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

Function write_hash_cache

pack-bitmap-write.c:1347–1357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1345}
1346
1347static void write_hash_cache(struct hashfile *f,
1348 struct pack_idx_entry **index,
1349 uint32_t index_nr)
1350{
1351 uint32_t i;
1352
1353 for (i = 0; i < index_nr; ++i) {
1354 struct object_entry *entry = (struct object_entry *)index[i];
1355 hashwrite_be32(f, entry->hash);
1356 }
1357}
1358
1359void bitmap_writer_set_checksum(struct bitmap_writer *writer,
1360 const unsigned char *sha1)

Callers 1

bitmap_writer_finishFunction · 0.85

Calls 1

hashwrite_be32Function · 0.85

Tested by

no test coverage detected