Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ reftable_buf_addstr
Function
reftable_buf_addstr
reftable/basics.c:138–141 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
136
}
137
138
int reftable_buf_addstr(struct reftable_buf *buf, const char *s)
139
{
140
return reftable_buf_add(buf, s, strlen(s));
141
}
142
143
char *reftable_buf_detach(struct reftable_buf *buf)
144
{
Callers
15
test_reftable_block__log_read_write
Function · 0.85
test_reftable_block__ref_read_write
Function · 0.85
test_reftable_stack__add_one
Function · 0.85
test_reftable_stack__auto_compaction_fails_gracefully
Function · 0.85
test_reftable_stack__add
Function · 0.85
test_reftable_stack__auto_compaction_with_locked_tables
Function · 0.85
test_reftable_stack__compaction_with_locked_tables
Function · 0.85
test_reftable_stack__reload_with_missing_table
Function · 0.85
test_reftable_basics__common_prefix_size
Function · 0.85
t_table_read_write_seek
Function · 0.85
test_reftable_record__key_roundtrip
Function · 0.85
test_reftable_record__index_record_comparison
Function · 0.85
Calls
1
reftable_buf_add
Function · 0.85
Tested by
12
test_reftable_block__log_read_write
Function · 0.68
test_reftable_block__ref_read_write
Function · 0.68
test_reftable_stack__add_one
Function · 0.68
test_reftable_stack__auto_compaction_fails_gracefully
Function · 0.68
test_reftable_stack__add
Function · 0.68
test_reftable_stack__auto_compaction_with_locked_tables
Function · 0.68
test_reftable_stack__compaction_with_locked_tables
Function · 0.68
test_reftable_stack__reload_with_missing_table
Function · 0.68
test_reftable_basics__common_prefix_size
Function · 0.68
test_reftable_record__key_roundtrip
Function · 0.68
test_reftable_record__index_record_comparison
Function · 0.68
test_reftable_record__index_record_roundtrip
Function · 0.68