MCPcopy Index your code
hub / github.com/git/git / write_rev_header

Function write_rev_header

pack-write.c:196–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196static void write_rev_header(const struct git_hash_algo *hash_algo,
197 struct hashfile *f)
198{
199 hashwrite_be32(f, RIDX_SIGNATURE);
200 hashwrite_be32(f, RIDX_VERSION);
201 hashwrite_be32(f, oid_version(hash_algo));
202}
203
204static void write_rev_index_positions(struct hashfile *f,
205 uint32_t *pack_order,

Callers 1

write_rev_file_orderFunction · 0.85

Calls 2

hashwrite_be32Function · 0.85
oid_versionFunction · 0.85

Tested by

no test coverage detected