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

Function alloc_blob_node

alloc.c:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void *alloc_blob_node(struct repository *r)
80{
81 struct blob *b = alloc_node(r->parsed_objects->blob_state, sizeof(struct blob));
82 b->object.type = OBJ_BLOB;
83 return b;
84}
85
86void *alloc_tree_node(struct repository *r)
87{

Callers 1

lookup_blobFunction · 0.85

Calls 1

alloc_nodeFunction · 0.85

Tested by

no test coverage detected