Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ oid_to_hex
Function
oid_to_hex
hex.c:122–125 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
120
}
121
122
char *oid_to_hex(const struct object_id *oid)
123
{
124
return hash_to_hex_algop(oid->hash, &hash_algos[oid->algo]);
125
}
126
127
void strbuf_add_oid_hex(struct strbuf *sb, const struct object_id *oid)
128
{
Callers
15
write_oid
Function · 0.85
store_bitmap
Function · 0.85
lazy_bitmap_for_commit
Function · 0.85
get_size_by_pos
Function · 0.85
test_bitmap_type
Function · 0.85
test_show_object
Function · 0.85
test_show_commit
Function · 0.85
test_bitmap_walk
Function · 0.85
test_bitmap_commits
Function · 0.85
test_bitmap_commits_with_offset
Function · 0.85
test_bitmap_hashes
Function · 0.85
dump_ewah_object_ids
Function · 0.85
Calls
1
hash_to_hex_algop
Function · 0.85
Tested by
15
test_bitmap_type
Function · 0.68
test_show_object
Function · 0.68
test_show_commit
Function · 0.68
test_bitmap_walk
Function · 0.68
test_bitmap_commits
Function · 0.68
test_bitmap_commits_with_offset
Function · 0.68
test_bitmap_hashes
Function · 0.68
test_odb_inmemory__read_written_object
Function · 0.68
test_odb_inmemory__write_object_stream
Function · 0.68
test_oidmap__iterate
Function · 0.68
cmd__dump_split_index
Function · 0.68
read_midx_file
Function · 0.68