MCPcopy Create free account
hub / github.com/git/git / infix_walk

Function infix_walk

reftable/tree.c:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void infix_walk(struct tree_node *t, void (*action)(void *arg, void *key),
56 void *arg)
57{
58 if (t->left)
59 infix_walk(t->left, action, arg);
60 action(arg, t->key);
61 if (t->right)
62 infix_walk(t->right, action, arg);
63}
64
65void tree_free(struct tree_node *t)
66{

Callers 3

writer_dump_object_indexFunction · 0.85

Calls 1

actionEnum · 0.50

Tested by 1