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

Function alloc_tree_node

alloc.c:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void *alloc_tree_node(struct repository *r)
87{
88 struct tree *t = alloc_node(r->parsed_objects->tree_state, sizeof(struct tree));
89 t->object.type = OBJ_TREE;
90 return t;
91}
92
93void *alloc_tag_node(struct repository *r)
94{

Callers 1

lookup_treeFunction · 0.85

Calls 1

alloc_nodeFunction · 0.85

Tested by

no test coverage detected