Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ get_tmp_dir
Function
get_tmp_dir
t/unit-tests/u-reftable-stack.c:70–75 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
}
69
70
static char *get_tmp_dir(int linenumber)
71
{
72
char *dir = get_tmp_template(linenumber);
73
cl_assert(mkdtemp(dir) != NULL);
74
return dir;
75
}
76
77
void test_reftable_stack__read_file(void)
78
{
Callers
15
test_reftable_stack__add_one
Function · 0.85
test_reftable_stack__uptodate
Function · 0.85
test_reftable_stack__transaction_api
Function · 0.85
test_reftable_stack__transaction_with_reload
Function · 0.85
test_reftable_stack__transaction_api_performs_auto_compaction
Function · 0.85
test_reftable_stack__auto_compaction_fails_gracefully
Function · 0.85
test_reftable_stack__update_index_check
Function · 0.85
test_reftable_stack__lock_failure
Function · 0.85
test_reftable_stack__add
Function · 0.85
test_reftable_stack__iterator
Function · 0.85
test_reftable_stack__log_normalize
Function · 0.85
test_reftable_stack__tombstone
Function · 0.85
Calls
1
get_tmp_template
Function · 0.85
Tested by
15
test_reftable_stack__add_one
Function · 0.68
test_reftable_stack__uptodate
Function · 0.68
test_reftable_stack__transaction_api
Function · 0.68
test_reftable_stack__transaction_with_reload
Function · 0.68
test_reftable_stack__transaction_api_performs_auto_compaction
Function · 0.68
test_reftable_stack__auto_compaction_fails_gracefully
Function · 0.68
test_reftable_stack__update_index_check
Function · 0.68
test_reftable_stack__lock_failure
Function · 0.68
test_reftable_stack__add
Function · 0.68
test_reftable_stack__iterator
Function · 0.68
test_reftable_stack__log_normalize
Function · 0.68
test_reftable_stack__tombstone
Function · 0.68