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

Function parse_tree_buffer

tree.c:175–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size)
176{
177 if (item->object.parsed)
178 return 0;
179 item->object.parsed = 1;
180 item->buffer = buffer;
181 item->size = size;
182
183 return 0;
184}
185
186int repo_parse_tree_gently(struct repository *r, struct tree *item,
187 int quiet_on_missing)

Callers 2

repo_parse_tree_gentlyFunction · 0.85
parse_object_bufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected