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

Function init_common_trie

path.c:320–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318static int common_trie_done_setup;
319
320static void init_common_trie(void)
321{
322 struct common_dir *p;
323
324 if (common_trie_done_setup)
325 return;
326
327 for (p = common_list; p->path; p++)
328 add_to_trie(&common_trie, p->path, p);
329
330 common_trie_done_setup = 1;
331}
332
333/*
334 * Helper function for update_common_dir: returns 1 if the dir

Callers 1

update_common_dirFunction · 0.85

Calls 1

add_to_trieFunction · 0.85

Tested by

no test coverage detected