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

Function strvec_init

strvec.c:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5const char *empty_strvec[] = { NULL };
6
7void strvec_init(struct strvec *array)
8{
9 struct strvec blank = STRVEC_INIT;
10 memcpy(array, &blank, sizeof(*array));
11}
12
13void strvec_push_nodup(struct strvec *array, char *value)
14{

Callers 12

path_msgFunction · 0.85
describe_atom_parserFunction · 0.85
get_next_submoduleFunction · 0.85
push_gitFunction · 0.85
strvec_clearFunction · 0.85
strvec_detachFunction · 0.85
tmp_objdir_createFunction · 0.85
ls_refsFunction · 0.85
am_state_initFunction · 0.85
cmd_describeFunction · 0.85

Calls

no outgoing calls

Tested by 1