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

Function hash_to_hex_algop

hex.c:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109char *hash_to_hex_algop(const unsigned char *hash, const struct git_hash_algo *algop)
110{
111 static int bufno;
112 static char hexbuffer[4][GIT_MAX_HEXSZ + 1];
113 bufno = (bufno + 1) % ARRAY_SIZE(hexbuffer);
114 return hash_to_hex_algop_r(hexbuffer[bufno], hash, algop);
115}
116
117char *hash_to_hex(const unsigned char *hash)
118{

Callers 15

test_bitmap_walkFunction · 0.85
hash_to_hexFunction · 0.85
oid_to_hexFunction · 0.85
remove_redundant_packsFunction · 0.85
output_refsFunction · 0.85
write_commit_graph_fileFunction · 0.85
odb_pack_nameFunction · 0.85
midx_get_checksum_hexFunction · 0.85
get_midx_filename_extFunction · 0.85
write_midx_internalFunction · 0.85

Calls 1

hash_to_hex_algop_rFunction · 0.85

Tested by 3

test_bitmap_walkFunction · 0.68
dump_tableFunction · 0.68
cmd_hash_implFunction · 0.68