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

Function oe_tree_depth

pack-objects.h:316–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 const struct object_id *oid);
315
316static inline unsigned int oe_tree_depth(struct packing_data *pack,
317 struct object_entry *e)
318{
319 if (!pack->tree_depth)
320 return 0;
321 return pack->tree_depth[e - pack->objects];
322}
323
324static inline void oe_set_layer(struct packing_data *pack,
325 struct object_entry *e,

Callers 2

resolve_tree_islandsFunction · 0.85
show_objectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected