MCPcopy Index your code
hub / github.com/git/git / strvec_push

Function strvec_push

strvec.c:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23const char *strvec_push(struct strvec *array, const char *value)
24{
25 strvec_push_nodup(array, xstrdup(value));
26 return array->v[array->nr - 1];
27}
28
29const char *strvec_pushf(struct strvec *array, const char *fmt, ...)
30{

Callers 15

get_packFunction · 0.85
do_fetch_pack_v2Function · 0.85
path_msgFunction · 0.85
grab_describe_valuesFunction · 0.85
credential_readFunction · 0.85
run_credential_helperFunction · 0.85
create_pack_fileFunction · 0.85
send_shallow_listFunction · 0.85
write_tar_filter_archiveFunction · 0.85

Calls 2

strvec_push_nodupFunction · 0.85
xstrdupFunction · 0.85

Tested by 12

parse_pathspec_fileFunction · 0.68
test_strvec__clearFunction · 0.68
test_strvec__pushFunction · 0.68
test_strvec__detachFunction · 0.68
cmd_mainFunction · 0.68
daemon__start_serverFunction · 0.68
cmd_mainFunction · 0.68
next_testFunction · 0.68
quote_stress_testFunction · 0.68
cmd__run_commandFunction · 0.68
ut_301redact_child_startFunction · 0.68
ut_400ancestryFunction · 0.68