Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ header_size
Function
header_size
reftable/block.c:18–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
#include
"system.h"
17
18
size_t header_size(int version)
19
{
20
switch (version) {
21
case 1:
22
return 24;
23
case 2:
24
return 28;
25
}
26
abort();
27
}
28
29
size_t footer_size(int version)
30
{
Callers
8
cl_reftable_write_to_buf
Function · 0.85
test_reftable_readwrite__write_empty_table
Function · 0.85
writer_write_header
Function · 0.85
writer_reinit_block_writer
Function · 0.85
stack_segments_for_compaction
Function · 0.85
parse_footer
Function · 0.85
table_init_block
Function · 0.85
reftable_table_new
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_reftable_readwrite__write_empty_table
Function · 0.68